To the best of my knowledge a family history of epilepsy does not increase the risk of stroke. I cannot comment on medical requirements for flying but I would have thought that a personal history ( as opposed to a family one) would cause problems just as it would when applying for a driving licence. Perhaps a medical person connected with flying can help.