One of my bikes has bar end shifters, and the down tube has actual shifter bosses on the frame and the shifter cables terminate into something like this:

I’d like to put barcons on another bike, but that one has no shifter bosses on the down tube. Can I use something like this?

Or will the shifter cables coming off the handlebar now constantly rub on the head stem with the lower piece?