I guess it can depend on the airline, but I would say that no, you canīt work as cc with epilepsy.
I didnīt pass the medical check for one airline because I have a mild food allergy. They said that there was too much risk of me getting some kind of seizure during flight. And I think your condition is much more serious!
Good luck anyway!