Problem using parallel a sensor with I2C and a motor with a Timer (PWM)

No not inherently, I don't think so but you might check out the IIC hanging thing and insure that your program can't get stuck in a communications loop waiting fir a response. If nothing else check it and fix it if required it would then be one less possible suspect and ... remember you have no real good starting point anyway so most anything could be the villain. Troubleshooting code like anything else is very often eliminating the good guy's until you find the bad one.

Doc