If HR is infact the reason why this doesn't happen then HR is hamstringing the rest of the company.
The difference between companies with high retention vs low retention is massive in my experience, both in terms of code quality and morale. Anecdotally companies with higher retention did better with raises but also generally better with hiring (so they had higher quality employees worth awarding raises to).