No, it just favors the majority. People say racist stuff under their real names online all the time, but it's not safe to use your real name as a trans person because of groups like Kiwi Farms.
Have you heard of Kiwi Farms? They are bullies who would immediately benefit from real-name policies.