I feel like this falls somewhere at the intersection of Survey123, Dashboards, and ArcGIS Online. But I'll start here:
I'm collecting a photo from my Survey123 form, and I'd like to automatically make it viewable in a Dashboard List element. I've figured out the URL structure of attachments, but the problem is figuring out the attachment's ID. The survey is on-going, and I'd like the dashboard to automatically show new records. Is there a way to achieve this?
To view the photos in the Dashboards you need to use "Details" widget and apply the media of the attribute in the webmap to show up the photos. I did it for many dashboards as you can see in the below snapshot:
see the attached video to get the way of showing photos and attachments in the dashboards
Although it may not provide the dynamic approach that you are desiring, I'd take a look at the following ArcGIS Dashboard Blog which provides sample Arcade syntax that can be used to insert images into the List element.
Maybe this can serve as a starting point for figuring out how to automatically reference the images taken by Survey123.