It depends on the school. Your school might be OK but some aren't. My son met his ex- head of year at a community event recently and she told him what a terrible school it was. She had left a year previously- she said she wanted to leave earlier but had vulnerable pupils who relied on her.
As an example, when there is bad behaviour and teachers don't know which pupil is responsible, all nearby pupils are taken out of classes, separated, questioned and then put under pressure to own up. This includes lying to them "we know it was you", "everyone else said it was you", "it'll be easier if you own up", and shouting at them until they break.
Less resilient students own up to things they didn't do, and the more confident kids get away with bad behaviour. Pupils own up to things they haven't done, just to get out of the room and stop being shouted at. But then they are told what a let down they are, how many people will be disappointed in them.
And this has led to at least two incidents that I know of where innocent kids can't see any way out, and have threatened to hurt themselves.
One was my son and when I contacted the school and complained they said "we didn't actually think it was him who did X." But they let him own up to it, then told him what a disgrace he was - he was absolutely distraught when I picked him up. That's the point he gave up trying at school.
My younger son - who is more resilient - came home a couple of years later and said exactly the same thing. He couldn't understand why all his friends (according to the school) had blamed him for something he didn't do. So it's a policy, not a one-off.
Yet parents are apparently the problem for complaining? Some schools ARE to blame for poor mental health. And yes complaints were made, Ofsted are aware, it makes no difference.