Yes, vaccines now exist aimed at oncogenic viruses HPV and hepatitis B preventing almost 6% of cancers worldwide. Research continues on potential vaccination for breast and pancreatic cancers among others.