I exercised daily on my MC. I had a quite a lot of energy through most of my fast. Some people have said it's not a good idea to do weight lifting type exercise because that requires that muscle is torn down and needs to be rebuilt with protein which you aren't getting during the MC.
As far as relieving pain, what kind of pain are you having?