Anemia definitely can cause it. That's how my anemia got diagnosed in 2016. I went to a pdoc complaining of fidgetyness from my hips down. Blood work showed I was seriously anemic.
I think you're right about genetics being a factor. A sister of mine has had it too.