Are leg spasms related to stomach problems?

Can be. "leg spasms" may be related to nutritional deficiencies or mineral deficiencies, which could be related to absorption or digestive difficulty.