Yes Eve, I surely have experienced that (and it is common for people just beginning; those on challenges; and teacher training).
Some people sleep like a log from yoga – but when you have the intention to really change; or you are working hard coming back from a break (that’s me on more than one occasion), the changes in your body, especially after a class later in the day can cause disturbed sleep patterns.
Let alone the muscles re-setting themselves!
I used to toss and turn just with the muscles not being happy to stay in one place in the bed (a little achy!).
The good news is, as far as I have observed, it does pass pretty quickly …
😉