working on old, rusty, stuff can be a real challenge, but i have successfully fished a new brake line between a frame rail and gas tank many times in the past.
it seems removing the gas tank can open up another worm can, because rust can cause issues with mounts, straps, etc.
as was said, cap the end of the new line good to keep stuff out of the new line when fishing the new line past the tank, and you will be ok.
and since you are replacing the main line, you might just as well replace the rubber line to the rear, and the rear's hard lines as well.
then those brakes only need to be bled once and done for many years to come.
just my opinion and life experience with brake lines.
your mileage will vary.
![beer beer](/ubbthreads/images/graemlins/custom/beer.gif)