As it is not recommended to take certain medications if you have sleep apnea – I advise against it unless you work closely with your doctor who knows your whole health history. Using something natural and calming that will help both your sleep apnea and migraine headaches like – calcium, magnesium, 5-HTP, melatonin - these are much better options. "Other non-prescription sleep aids include passion flower and chamomile. Amino acids, such as L-theanine and L-tryptophan are sometimes helpful when other treatments fail." [2]