Keep iphone awake indefinitely while viewing camera

I’m gonna try my best to explain what I’m trying to do here but it seems difficult to do over text so please bear with me.

We used to have a Nanit, baby monitor which worked OK but not amazing.

We just moved to a brand new house and I have a spare E1 Zoom indoor camera sitting here in a box. I had a thought that we could use that as a baby camera. With the Nanit camera that we used to have you would put your phone on a charger open the app on the view mode and the phone would stay awake the entire night showing what the camera saw as well as audio. That way if the child moved or woke up or anything like that, you would hear it almost like your phone became the full-time monitor.

I am wondering if it’s possible to do the same thing if I were to use the E1 zoom and mount it above the crib. The phone would be on the MagSafe charger all night, but I would need it to stay awake and show the live view the entire night with audio.