I can understand people in certain professions being required to suppress their own personal opinions. Two that come to mind are the staffs of legislators and judges, and military officers.
Having said that, I think being required (even implicitly) to hide one's identity because of fear of interference with one's employment shows a defect in current employment arrangements. Unfortunately I see no practical way to fix this.
Perhaps the limits on one's personal liberty would be a topic for a future discussion. Policies not Politics ---- Daily Landscape
But that still doesn't solve the issue of my personal online safety should some troll or person with a grudge decide to harass me. Ad astra per aspera