65 Barracuda fuel line relocation

I have a fuel line I'm thinking about relocating. Currently it goes over the headers and gets
hot creating some bubbling in my fuel filter (potential for vapor lock). I'm no expert with fuel lines but is there any reason this would be a bad idea? Or any reason I can't just cut the hard line and re-attach a flexible hose back on it going up to the fuel filter? Photos are how it is now and tried to show what I am thinking of doing....

20211103_180634.jpg 20211103_180628.jpg