This is definitely done already. GitLab (where I work as an engineer) has done it for a number of years. They used to publish the numbers and ranges for every role/location but they made it internal only a year or so back for reasons that I can't remember. You can still see the old calculator thanks to the internet archive - https://web.archive.org/web/20200606161551/https://about.git...
I don't want to debate whether this is the best approach in terms of treating employees fairly, but it certainly seems to have it's advantages for the company - they get to save money by hiring people in places with a lower compensation rate.
I don't want to debate whether this is the best approach in terms of treating employees fairly, but it certainly seems to have it's advantages for the company - they get to save money by hiring people in places with a lower compensation rate.