Not too far fetched. Many vaccines are made with surface proteins from viruses that can be recognized by the immune system. But my guess is going through the pasteurization most proteins would be denatured and not in the functional form.
https://www.chop.edu/centers-programs/vaccine-education-center/making-vaccines/how-are-vaccines-made
From the research article results there are various compounds.
https://www.nature.com/articles/s41467-022-33127-w