If the pump has a check valve and the pressure switch is at the tank then it can work.

John