Leg cramps

Lately I’ve been waking up almost every night with a Charlie horse in my calve and it literally jolts me awake, I heard this can happen while on birth control and I was wondering if anyone else experienced this??