Yes, certain types of headaches like cluster headaches and hypnic headaches more commonly strike during sleep. If you find yourself frequently waking up with headaches, especially at predictable times, discuss this with your doctor. Keeping a log of sleep headaches along with any other patterns can help identify causes and guide treatment.