Some companies do "exit interviews" in HR.
They ask questions like "What do you think needs to be improved?"
I have no idea what they do with that data, or if enough people complain about a specific person, if any action is taken.
Also, I have heard that many companies have prohibited anyone...