legs, that's a lot of meds and testing. A sleep study? Can you do that? I don't think I could sleep with wires hooked up, cameras on me, and people watching through a glass window at me. I think that's how they still do it.
Or is it different? Good luck. I hope you find out why you don't sleep well.