Hmmmm... just thinking... if you work until midnight or later it is nothing unusual that you would be hangry again and eat again. And you say you need the small meal to eep your epilepsy off... and anyway, you do need to eat to be able to work so long!!
I guess it would only be a problem if it bothers you a lot for some reason and is not the way you (and your body) want to eat... just per se, I don't think there is anything wrong with it.
I eat before going to bed too, often more than i ate for dinner. I've been doing it for a long time, it helps me sleep...