Yes, there used to be a vaccine for Lyme disease

It used to be possible to be immunized against the common tick-borne illness, but the vaccine's manufacturer discontinued it, citing low demand.