I would recommend going to see your primary care doctor
about this issue, if you have not done so already. There are a couple different possible causes of your symptoms, and your doctor will need to ask you some additional questions and perform a physical examination in order to get to the bottom of things.
One possibility is that this could represent a form of restless legs syndrome
, which is a condition in which a person suffers from intense discomfort in the feet or legs while lying down that is relieved by get up or moving the legs. Restless legs syndrome can be a primary condition, but it is also very often associated with other medical problems, such as iron deficiency, diabetes, and many others.
Another possibility is that this could be neuropathy, which is a condition in which the nerves in the legs or feet are inflamed or damaged. This could also occur as the result of a medical condition, like diabetes, a nutritional deficiency, or a medication side effect.
Start by seeing your doctor, who can decide if additional workup, such as screening for diabetes, anemia
, or a nutritional problem, might be indicated, or if there is any treatment that might help relieve the symptoms.