No but it’s frowned upon. I have worked for large tech places tho that have
Full spreadsheets that all employees can access and fill out your location, job level and comp details (base, bonus, equity). I never filled it out, but it was awesome to see and compare.