The lens of a taxman is that something that is legal is fine.
In many companies, it is the employees who create the wealth. The owners enjoy it. That's, of course, mildly facetious but a successful business is not necessarily taking many risks. Employees are also risking their livelihood too.
I've yet to meet a businessman who wouldn't shaft his employees for his own advantage.
That's my taxman experience based on a different business every day for nigh on 10 years.
Again, avoidance is fine. It is for governments to address it, if it is perceived to be problematic.
My only gripe, and it applies to absolutely everything, is that everyone is treated exactly the same. Ah Utopia!!