Yes, you can still be vaccinated if you have food allergies. The Centers for Disease Control and Prevention recommends that people get vaccinated even if they have a history of severe allergic reactions not related to vaccines or injectable medications including food allergies. You can find more information about the COVID-19 vaccination and allergies on the CDC's website.