I suggest that you talk to your primary care doctor
about these symptoms. Although it is quite common to have some numbness
or tingling in a limb while sleeping due to laying on the limb and compressing the nerve, this would be unusual to happen in all four extremities at the same time.
One possibility that I can think of would be a problem with your thyroid gland. Imbalances in the level of thyroid hormone can cause symptoms like this, usually also coupled with fatigue, weight changes, and changes in the texture of hair and skin.
Another possibility would be a nutritional deficiency, particularly some types of B vitamin deficiencies can be associated with this. A common form of B vitamin deficiency, B12 deficiency, can be associated with chronic heartburn and gastritis, as well as other gastrointestinal problems.
If you have any other medical problems, these may play a role. For example, diabetes can cause damage to nerves, leading to this type of sensation. Rarely toxins from the environment can cause nerve damage symptoms, but these are usually in certain types of industries, for example where exposure to heavy metals is a problem.
Start by talking to your primary care doctor!