I don't think it makes sense for most things. Rabies has a slow enough incubation that if you get vaccinated within a couple of days your immune system can win the race.
I was thinking more of things like the hepatitis B vaccine or anything that isn't common in your area. It makes more sense to me to follow the same logic people use when traveling: get vaccinated for dangerous illnesses shortly before going somewhere that might expose you to the disease.
this territory is moderated