Is it dangerous to sleep on a heating pad?

I'm in horrendous pain because of sciatica. I have a back injury. The muscles sometimes swell in my back and squeeze my sciatic nerve.. I took my muscle relaxers and I would like to sleep on my heating pad. I googled if this is okay or not and it's like 50/50 
So I figured I'd give a shot at asking you guys. 

Vote below to see results!