Yes of course. This happens a lot when you have a fever, or if you take certain drugs prior to sleeping.