You can use your iPhone as a microphone for your AirPods by opening the control center, tapping on the ear, and selecting "Live Listen". Place your iPhone where you want to listen in.
If you don't have the icon in Control Centre go to Settings > Control Centre and add Hearing