In searching around for a brake hose solution for a tandem I found this Dry Hydraulic Coupling Fitting that may be useful for teams that travel with tandems and use couplers to dismantle the frames to fly.
I imagine using it on the rear brake hose. Takes 5mm hose.
It will be interesting to read your views on using couplers.
Only issue I see with is it is the ridiculous price at 250 GBP. Which is more than one side of R785 brake levers and Di2 shifters.
I found it at:
https://www.sjscycles.co.uk/brakes/1...hose-supplied/