Assuming that AirPods
can be programed if modified, it seems obvious to me that a "filter" could be
designed to conform to an audiologist's prescription.
I can imagine the after-market with the Apple Car: "I'm sorry. We don't provide wheels or tires when you purchase the car. Or paint. But, you do get Apple CarPlay".