Not sure what you are going to achieve from it? Sure you can get the engine to turn on, and it will run for about 1-2 minutes to do its self-diagnostic checks. But unless you are also getting some form of climate control along with it, what is the point. The ICE will soon just switch off as there is no demand for the unit as you are not driving. it will not really do anything to charge up the battery, that by itself is a pointless process as the standard HEV doesn't really run in pure EV mode unless you are effectively gaming the system, The electric motor inside is not large enough to really run as a pure EV unless you really slowly accelerate or have the side of gravity on your favour. If you are trying to run as an EV up any grade hill you will be running the engine.
So your thought is to get the engine warmed up. Without something to demand the engine to stay one (like having the clime control turned on) to pre-warm the inside of the car, there is no reason for the engine to remain on once it has done the self-checks, so it will turn back off.
2018 Niro EX - Ocean Blue
GTA - Canada.