No: at least in my 2023 Corolla, in order to power off it must be in Park, and then, when you power off, the lid on the shift-stick is blocked.
You can leave it in neutral and exit the car, obviously, but the car is started.