This is the way a lot of modern cancer vaccines are being developed. The idea is to create custom vaccines in the future targeting the patients specific cancer. So they are therapeutic vaccines. Obviously some cancers cannot be reach by a vaccine or are so aggressive that they overwhelm the patient before they can help.