The audio gram stuff existed, but wasn’t well known and as mentioned required a third party app.
The hearing aid stuff was only recently certified by the FDA as an OTC hearing aid. Apple has had a mode for a many years where AirPods + iPhone could act like a hearing aid. But it didn’t meat the medical classifications.