Has anyone gotten chemical peel for shaving scars

I have been shaving for 4 years now but recently I have developed lots of ingrown hair which led to the shaving scars, it's horrible and I don't think I can literally wear anything short anymore. I saw somewhere that chemical peels can be used to remove shaving scars, I want to know if it works