If your initially turning on the bike, yes, it will try to prime.
I don't know how long it will run before turning off/burning out without the pressure raising to 30+ PSI, (the pressure regulator is in the pump), cooling of the fuel/safety features built in to the bikes electronics.
I suspect if the pump is disconnected from the bike, and "hot wired", it'll keep running
May I ask why?