Hello !
I read carefully your question and understand your concern.
I think that the symptoms you describe may have been a seizure, a complex
partial seizure, but they may also be caused by sleep disorders.
As you refer you have painful leg cramps during the nights , which can be
restless leg syndrome . Seizures may be caused by
sleep deprivation.
I would recommend you to consult with the
neurologist, have a good neurological examination , a full blood work and an EEG for the possibility of seizures.
Another examination that I would recommend is a
polysomnography, which is very helpful in the diagnosis of sleep disorders.
A brain CT scan may be needed in case of an abnormal EEG or neurological examination.
Hope to have been of help!
Greetings!
Dr. Abaz Quka