Yes neck injuries including close head or whiplash injuries can lead to vertigo or dizziness.
Usually the cause of dizziness after a neck injury is due to a damaged facet joint that can be repaired by a doctor by injecting the upper necks facet joints with platelet rich plasma.
If the dizziness is caused by a damaged facet joint then you'll usually experience neck pain, chronic headache along with the dizziness.
If you're getting dizzy after a neck injury I would advise seeing your doctor about it as they can correct the problem so you won't be dizzy anymore.