Gas tank sending unit ground strap replacement

Is there a reason that the gas tank sending unit has to be grounded to the fuel line? I've made some modifications in my fuel line to add an electric booster pump and the factory ground strap doesn't reach. Can I just attach a ground wire to the sending unit outlet and ground it to the frame???