Just thinking aloud – I’m running a junction box a at the front (3 port) and junction b near the bb. That’s needed as I have a front / rear mech and a front / rear shifter, plus the internal battery.
To charge you really need the junction box a that sits under the stem, the mtb one with the digital display or the one that goes in the end of the handlebar. I think for your purposes the mtb one might be a good option.
It has 3 ports – if you’re only using 1 shifter that leaves 2 spare ports which could do the battery and rear mech. Only issue with that is you’d need a hugely long cable for the rear mech to junction box run – I’m not sure if they make them that long.
If they don’t you’ll need a junction b – but I’d want to hide that in the frame ideally.
I’ve no idea about it, but given lack of drilling on the frame for internal routing maybe you could run an external battery and keep it all outside. I’m not sure what that means for the junction box b.