I have this sometimes, combined with poor sleep for pretty much my whole life. I had this last night in fact, and it lasted for about 10-30 seconds.
I am sensitive to both gluten and milk and have just started a diet, but haven't seen any change to this yet (sleep quality seems a bit better though -- I dream more the last week than I usually do in a month...