Yes. The COVID-19 vaccines are safe for those with allergies (including anaphylaxis) to food or drink.
The current COVID-19 vaccines do not contain nuts, gluten, egg or soy.