This is not a great idea, especially considering it's your life on the line

I'd seriously consider some new brake lines. I've never seen short ones sold, just longer for the 70's ape-hangers people liked soooooo much

Might want to consider a set of braided lines made to fit, or you need to measure the distance you're looking for and find a compatible stock brake line that's close.