Religious requirements are quite different.
Food allergies can indeed be a bar to service, particularly if it's already on your med records and formally diagnosed. If you have an emergency epi pen, don't even bother applying; otherwise, it's a case of how severe the allergy is.