IPhone users can enable assistive touch in settings and it will enable a virtual home button on your device. How to restart your iPhone without power button Using assistive touch button It will show you the serial number (IMEI) of the connected phone. After that, you would see a notification that USB debugging is connected. For this to work, you need to enable the developer options of your smartphone and enable USB debugging. This method also works on Android exclusively.
But, if you have an alarm set and the device is off, the device will automatically turn on without using the power button when the alarm goes off. You cannot exactly turn off your iPhone at a scheduled time.