I have heard of LOL payouts being limited to 20% of the sum insured for psychotic, neurotic and epileptic illness, on the grounds that one might recover from such conditions and return to flying. I doubt there are many epileptic pilots out there flying commercially though.
First question on many application forms, "Have you ever been grounded or refused a licence on medical grounds?" so returning to flying would appear to happen.