Occasional muscle twitching is not dangerous. Usually occurs due to muscle fatigue, dehydration and electrolyte disturbance ( magnesium and
Calcium)
Sleeping with arm resting under your head will cause direct pressure over the artery or nerve and cause numbness. More often seen in alcoholics.
Next Steps
Proper posture during sleep. Blood tests like
thyroid profile and electrolyte levels