Basically you want a virus that really is a vaccine. The current vaccines are far from perfect because apparently we don't know how to make them better. Expressing such a vaccine as a contagious virus would not better but would only create more risks.