A different kind of solution:
If you Google for "use proximity sensor to wake phone" you will find "Smart Screen On", "Wave Control", "ScreenWakeUp", and other apps that use the proximity sensor to wake up the phone.
And there are apps like "Screen Off" that turn the screen off without using the power button.