For the last few years before I retired, by hanging up my headset, I wore hearing aids and held a Class 1 medical.
One problem was that the audiogram had to be done without wearing them and obviously I was below the standard but with them, no problem.
The paperwork for audio section of the medical was also a problem but my enlightmed AME used to put something to the effect "abnormal but corrected by use of hearing aids" That then let him issue the medical.
Since retirement I now have much better hearing aids, but they couldn't have been worn with a headset.
As I was one of the first to wear them operationally, I had to get Tels to confirm they didn't interfere with any equipment and also have an LCE sit with me the first time to make sure I hadn't missed anything.
HTH