Thanks for sharing that, Daisy. It is a mystery to me, what causes our sleep or "not to sleep" patterns.
I'm sure that MS, which causes lesions on our brain, can certainly cause our sleeping hours to be interupted, just as it does to our waking hours.
What is the solution, is the question?? Some life threatening sleep patterns like sleep apnea, when you quit breathing during sleep, must have a solution, such as a CRAPS mask. (My young nephew (35) died in his sleep from SA.

)
I am so sorry about your migraines and seisures. I hope you can find the right med to control this.
Let us know how you are doing and take care of yourself...