With headphones on and music loud, I would not hear my own doorbell. iOS has a feature that listens for that and taps you on the shoulder. It is built as an accessibility setting for people who are deaf or hard of hearing, but it works for anyone.
Go to Settings > Accessibility > Sound & Name Recognition > Sound Recognition and turn Sound Recognition on. The iPhone may need to download the available sounds first. Then tap Sounds and switch on the ones you want, such as a doorbell, a siren or a crying baby (Apple names these as examples, not as a full list).
Settings > Accessibility > Sound & Name Recognition > Sound Recognition > Sounds
If your own alarm or appliance is not in the list, you can teach it. In Sounds, tap Custom Alarm, or Custom Appliance or Doorbell, enter a name, put the iPhone near the sound source with as little background noise as possible, tap Start Listening and follow the steps on screen. Think of an oven timer or a door chime that is not the standard kind.
You can add Sound Recognition to Control Center to switch it on and off quickly, which is nicer than digging through Settings each time.
The caveat is Apple’s own: don’t rely on it where you could be harmed or injured, in high-risk or emergency situations, or for navigation. It will miss sounds sometimes, and a smoke alarm still needs to be a real smoke alarm. Listening also means the microphone is in use, so I would keep it for the times I need it.
Further reading: Set up Sound Recognition on iPhone, iPhone User Guide
Going deeper: Guide: Immich on Unraid, back up the photos on your iPhone automatically