Pain in leg muscles at nigh

Am I alone in my muscular discomfort at night . .?
If I lie in bed, my thigh muscles emit a dull, but painful signal. I have to massage them or stretch them, to get any reduction in signal. I am forever getting out of bed to stretch, as well as to fight toe cramp.
I have a portable pulsating hand tool that I use, and the pressure I need to apply causes bruising on occasion. Please advise if you are kept awake by this “dystopia “