macOS Ventura lets you use your iPhone as a webcam to capture documents and photos to have it available on your computer instantly. You are going to need a decent iPhone holder to attach to your Mac display. This Mac iPhone Continuity Camera Mount can help. It is a 3D printed iPhone holder that combines with your MagSafe charger to attach your phone to your Mac. It is compatible with an iMac 24″, iMac Pro MacBook Air M1, and, MacBook Pro M at this time.