There is a cousin forum message where I recorded a story using an iPod. I would expect the iPhone to work as well.
https://forum.audacityteam.org/t/agua-caliente/45022/1
You should know the microphone is on the camera (back) side of the iPod. I recorded a test where I turned the unit around and prevailing wisdom is correct, this trick only works when the screen is facing away from you.
Please note this recording is also an illustration of my last reading condition: My third bedroom is soundproofed; you can do anything you want in a studio.
Koz