Varying the pwm frequency for timer 0 or timer 2?

I don't know of other side effects...the ones you mentioned were enough make me avoid changing the TCCR0B register.