I'd echo Katherine here, when my legs twitch my husband either puts up with it or goes and sleeps in one of the rooms vacated by our kids in recent years. He knows how poor my sleep has been in the past, I was driven into a poor mental state by lack of sleep when our kids were babies, I'd be on autopilot and take it out on him too. Thing is for those of us who suffer depression quite easily it's a vicious circle. A good night's sleep can even bring me out of my depression if lack of sleep was a contributing factor.
I've criticised my husband for many failings, but one thing he doesn't do is wake the dragon, me. To wake me from a sleep of any depth is to invite the fire breathing demons from hell into our bedroom. I will be absolutely furious. I sleep very well or not at all, but if he wakes me up, he's in trouble and I don't even know what I'm saying, I'll tell him to frick off forever etc
Luckily he loves me and after a day or two starts speaking to me again
It has no effect on our sex life at all because that tends to be like yesterday, we were having morning coffee, got joking about and ended up at it. I hope that isn't tmi for here! My point is we don't do the "tired sex at the end of the day" anyway and we don't usually wake together, one will wake first and creep out of the bedroom.
The main thing I miss is having a warm body to cuddle after getting up for my 3am pee!
It's got to be said his snoring is so bad I wear headphones all night