Can Tramadol help alleviate migraine pain?
Yes, this should be ok.
I looked up the "half life" (length of time for half the drug to be eliminated) of Tramadol and unless you have been told not to take any medications for a certain length of time before your surgery, taking Tramadol should be ok.
Tramadol immediate release formulation stays in your system a shorter length of time than the extended release formulation. You would know if yours is extended release by checking to see if there is an "ER" after the medication name.
Tomorrow before your surgery, tell the staff (intake nurse and anesthesiologist) that you took tramadol and whether it was extended release or not. Then the anesthesiologist will make appropriate adjustments to what he or she gives you for the surgery, but most likely no adjustments will need to be made.
I hope this information helps and you are feeling better from your migraine soon!