Absolutely.  Vaccines have been proven to stop diseases and keep people safer during epidemics and pandemics with minimal risk.  Quarantine is necessary for diseases to be kept away from the healthy.