Force restart iPhone using a software (without iPhone's permission)
There's no way that I can think of to do it via software, but I do have a crude workaround idea.

You can let the battery die (you can accelerate this process by turning up the screen brightness), then plug in the phone. Crude, but the phone will turn itself off when the battery dies and turn itself on when you plug it in. It's effectively a restart.