I've had this problem for many years where my legs don't relax when I sleep. So when I wake up my legs are always tired and sore. It's not serious enough to cause any major health issues but very annoying. I've visited many doctors and none were able to provide any useful information.
I was thinking of attaching EMG and getting some data for analysis. But I wouldn't even know where to start.