the real issue with dongles from my perspective is that they move the DAC out of the phone. manufacturers already tend to cut corners with onboard DACs, and they're likely to use even worse components in a $5 dongle.
in theory, usb-c could enable headphone manufacturers to move the DAC to the headphones themselves and use much better components than a mass market phone would. unfortunately I think the future is probably "good enough" but convenient wireless protocols.
I'm not sure the iPhone dongle is even a DAC. It seems like an analog pass-through, but I could be wrong. At any rate, after decades of playing music and producing numerous albums, I figure I'm as golden-eared as anyone, and I don't feel the sound is compromised.
https://www.kenrockwell.com/apple/lightning-adapter-audio-qu...
Personally, I just stopped using my phone as an audio device. The only thing I listen to on it are videos, and I don't plug in headphones for that.
I'm still annoyed that I can't charge and use headphones at the same time (I have a different dongle with a charge port that I use on the plane), but other than that, it's not so bad. Still annoying that I had to pay $60 to use my phone the way I want to, but with so many phones dropping the headphone jack, I gave up trying to resist. (I'm still resisting moving to bluetooth headphones, I can never remember to keep them charged)
Dongles are available on Amazon for as low as a few dollars, but I couldn't tell which ones were good and which were junk, even the Google branded ones had reviews saying they were not legitimate Google branded, so I bought the $9 ones off Apple's website, which work fine on my Pixel.
https://www.amazon.com/s?k=B07GSZ124H&ref=is_s
It works ok, but charging is slow, it keeps my phone from discharging while watching a movie, but it barely charges (like it would if plugged directly into a USB cable)