Mech oil gauge line drag legal?

I always seemed to eventually get leaks inside the vehicle with the copper tube probably more with me fiddling under the dash and bending things though.....