There's a widget in the control center that shows the decibels of the music that you're playing through AirPods Pro. It updates live too, maybe because of the microphones in the AirPods
Fact check: Context missing from claim about health effects of AirPods
Thanks to my Airpods Pro, I managed to decrease my listening level from 87dB to 75dB over the last year. Keep in mind I bought them last January. : r/airpods
Evaluating Apple AirPods Pro 2 Hearing Protection and Listening
The AirPods Pro 2 ANC, Strong when It Wants To: How to Improve It? - NoisyWorld