cracking back?

Am I the only one who feels the need to twist and crack my back? I do this in the middle of the night because I'm just so uncomfortable and I feel a pinch in my back. When I crack my back it's loud and does feel good, but I still feel that pinch nerve in my back. Is this ok?