My doctor said I have vertigo and that a lump on my head is just a bone spur, but could they be related?

Not likely. It is very unlikely that they are related. If the bone growth is near the ear or enlarging, i would be more concerned.
Vertigo. It is very unlikely that a lump on the head would be related to vertigo - not seen this in my experience.