I actually added a 2 port inline junction because the internally routed di2 cable that was long enough for the under stem junction box wasn’t long enough for the bar end junction.
Not quite as sleek, but one less internal cable to faff around with if I replace my bars.
Thats how my partners bike is wired:
Shifter
Shifter
Bar End