Hi there. You need to answer certain questions to yourself before you travel. Has your epilepsy been diagnosed and documented by a neurologist? When was the last episode that you had? Have you been prescribed anti convulsants for the same? Have you been seizure free post medications or is the therapy and the dosages well titrated? if so, you could travel with the airway authorities apprised about your medical condition. You could also have a medic alert to generally make the onlookers more careful in case you throw a seizure during travel. If your seizures are not well controlled despite drugs, you must not travel. If urgent, you must travel with an attendant with your neurologist’s instructions. Hope this helps. Take care.
In general yes, using reasonable precautions, providing you take your medications and follow your physician's instructions.