It's also possible that a nerve got pinched in the neck...
A spine specialist would be able to rule out a bulging or herniated disc.
Hi
The uncomfortable sensation of numbness, tingling or prickling, pins and needles (paresthesia) is usually felt in the hands or feet and generally has no long-term consequences. It may be due to awkward position of limbs while sleeping, leading to pressure against the nerves or reduced blood supply locally.
However, if persistent, it may indicate nerve damage or certain disorders of the central nervous system such as restless leg syndrome, multiple sclerosis, alcoholism, hypothyroidism, medications, or vitamin B12 deficiency, to name a few.
RLS is probably the most frequent movement disorder. Most people with RLS also have periodic limb movement disorder (PLMD), repetitive movements of the toe, foot, and sometimes knee and hip during sleep. They are often recognized as brief muscle twitches, jerking movements of the feet.
Although these conditions are distinct, they may co-exist in a person. You should visit a neurologist or a sleep specialist stating your history and medication details.
Take care