This is a pretty uninformed take. The tech in AirPods is great, but people using a normal earphone as a hearing aid will be disappointed. The vast majority of people with hearing loss have a degree of loss that varies by sound frequency. If you boost everything 40 dB so the high pitches are back to normal, the low pitches will be extremely uncomfortable. The programming of a hearing aid is in many ways more important than the "engineering" that makes an AirPod Pro a great listening device.
Yeah. Also, I got a pair for my father in law (who has expensive hearing aids) for the remote listen accessibility feature (which uses the iPhone mic on the table next to the speaker instead of an in ear mic).
He was sorely disappointed. I tried that feature out before returning them, and agree.