You might be able to achieve something using compare mode and the external clock pin for timer1. if you have enough spare pins and if you were really clever
use the hpwm output to drive tmr1ck then you could change the flash rate on the fly