DO NOT ATTMEPT !
For those who have actual migraines; an orgasm during the headache will cause such high pressure in cerebral arteries and veins to burst the weakest blood vessels.
If sex is worth a stroke or bursting of unkown aneurisms, go ahead.