Thats exactly what it is
When snakes lost thier legs long long ago they only really lost like, half of the leg. the spur is a leg that extends into the body. Its not just that little "bump" on the outside
I was watching a snake disection and they removed the spur and you could see that it really looked a lot like a leg bone