This happens a lot to a lot of people and is really nothing to worry about. We all have electrical currents flowing through us all of the time, and while in a semi waking/sleeping state the body is aware in a different way. I've learned over the years to control the ebb and flow of these currents and after such experiences always wake more refreshed than normal. The body is performing it's rebalancing of energies.
Hello!
There are chances that you are having seizures during sleep.Myoclonic jerks are abnormal involuntary muscle twitching cause due to sudden muscle contractions.Myoclonic jerks occur due to a seizure disorder. Epilepsy requires medical treatment to control symptoms and to prevent death from a fatal seizure. See a neurologist. A clinical examination and EEG are mandatory. Anxiety, post traumatic stress disorders are other possibilities if the clinical examination and investigations are normal. Seek medical help. Do keep us posted.
Best wishes!