I know someone who has been down this path!
Failed the audiogram, failed the whisper test.
The next hurdle was a circuit in an aeroplane with an ATO. (aka Flight Test!)
Headsets on.
'Can you hear me Bill'?
'Yes'!
(Not sure who needed the headset the most. The student or the ATO!
Medical reissued with no restrictions.
You can go down the Hearing Aid path. But that will be a restriction on your license, same as eye glasses!