With another pic, it can be done easy.

PIC18F14K22 have everything what you need:
Enhanced Capture/Compare/PWM (ECCP)
module:
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and Auto-restart
- PWM output steering control
And all that controlled from comparators outputs.
If comparator output is low or high(selectable) pwm outpu can go to some state, high or low.
You can turn on/off hysteresis on comparators, etc...
Just read this 404 pages and you will know everything you need