I wonder if they sell or, if it would be possible to make, hard lines that would connect to a bike hydraulic brake system. Even just an angled fitting attached to the caliper would completely change the hose routing. Something like a v-brake noodle.
Might be doable if you found the right diameter tubing. You could use one of these splices to connect to the flexible line.
https://www.ticycles.com/store-all/hydraulic-brake-line-coupler
You should be able to bend that hose quite a bit though.