I have a nervous tic where I twist my wrists and fingers, as well as my ankles. Sometimes I sit in bed and unconsciously do this for hours. My wrists and calves hurt super bad and have been sore for weeks. Is my constant cracking and popping causing this?

Curious if anybody else has painful tics. I tend to hurt myself and then worry about it.