Well no, it depends on how severe their allergies are. And there have been multiple stories or examples in the past decade or two of kids hazing someone with peanut butter allergies by intentionally triggering it or even putting peanut butter on them.
This is why schools have taken drastic measures because all it takes is one incident to send a kid to the hospital, put the school in serious lawsuit territory and cause a massive news scandal. It's a matter of liability reduction.