AirPods Pro 2 are now FDA approved to act as hearing aids, and during the setup, you will take a hearing test that generates an audiogram (essentially a personalized EQ adjustment). [0] I have pretty mild hearing loss, but it was very wild to turn it on for the first time. It’s like taking OFF a filter.
With that said, I don’t think it would lessen tinnitus, and I don’t think the parent comment was suggesting it would.
[0]: https://support.apple.com/en-us/120992