I never had to replace one in my Workhorse fuel tank.
Maybe someone who has, will chime in.
Here is a picture of a typical Chevrolet, in tank, electric fuel pump.
It appears to me that the pump is mounted into the top of the tank. The "business end" of the pump is close to the floor of the tank. It still makes sense to me to keep it running cool by submersion in the gasoline is a big plus for longevity.
Electric Fuel Pump Module 2001-03 GM Truck 4.8-6.0L
GM P/N: MU1613
Mabye Ford or other OEM's operate differently.
2002 Newmar Mountain Aire, 37', 3778, W-22, 8.1 Vortac, Ultra Power upgrade, CAI (cold air intake), Taylor wires, colder plugs, Koni shocks.