Isn't that what happens now with normal exposure to the virus?
The “standard example” for natural herd immunity eradicating a disease is the black plague, but most experts now believe that herd immunity isn’t actually responsible for its disappearance from Europe.
Vaccines get you the individual protection (and eventually herd immunity) without all the death.