I don't wear hearing aids (getting close to needing some) but have several family members who do. They are a major headache to deal with.
I know others replied, but I want to reiterate the points being made. You could buy 10 or 20 sets of AirPod Pros for the cost of "real" hearing aids worth buying (typically in the range of $2000 - $4000, although you can get some good ones for less than that through Costco or similar stores). Those "real" hearing aids also only last on average about 3 - 7 years.
So let's say someone needs to replace AirPod Pros every 2 years. That person pays a full price of $250. Throw in AppleCare+ and you spend $280. Do that 5x in 10 years (not likely that you will need to buy new ones every 2 years, but I'm being extra liberal with estimates) and the person has spent $1400.
Compare that to $2000 (or $3000 or $4000 or more!) hearing aids that generously last 7 years (5 would be more typical), plus you need to replace batteries (which is hard for many people requiring hearing aids), although the batteries are inexpensive. So in 10 years you are looking at maybe $3000 to $5000 with "real" hearing aids.
There are potential benefits to other hearing aids (size is one), but what's most important is having a set that you will use.
Financially, you will almost always come out ahead with AirPod Pros. They will not be the best option for everyone, but they will be a great option for many people.