one would normally pull the tank to gain access to the fuel line and the electrical system.
Most definitely. If you're going to do it, do it right....which precludes doing it from the outside like you describe. Probably will need to pull the airbox as well, you want to be certain all fuel lines run "downhill" from the petcock or you'll experience starvation...especially with a low fuel level.