dvcochran
Grandmaster
Quite likely. Potassium and Magnesium a vitally important to prevent cramping. Part of why bananas and leafy greens are good pre-workout. I take a potassium supplement 2-3 times a week.I rarely - if ever - cramp in a hard workout. It's more likely to happen during kneeling for a bow, moving into a Yoga pose, or something like that. I'm not good at staying hydrated - somewhere along the line, I lost my "thirst" cues. So, it's possible my cramping is from dehydration. I also wonder if they're due to some deficiency (why I hope, but don't trust, the electrolytes might help).
My wife has us "both" on a keto diet so anything with high carbs is off the list. But the list is confusing because things like bananas and carrots are discouraged. I keep telling her to give it a year and everything keto will kill you.