"But what if my interests and those of the company are not aligned?"
That's called fighting with your boss and it is generally considered to be a failure state of employment.
Deontological Warfare
“HR works for the company, not the employees” so do you. You work for the company. That’s what a job is