Simulating a pinhole Camera

Hello,

I was wondering, would it be theoretically possible to render the effects of a pinhole camera with VRay? Say I edit the shutter speed to have a long exposure, would I be able to to get a flipped image on a white surface as I would with a pinhole camera? I haven’t been able to replicate that but would appreciate to know if it is possible, and why not if it isn’t!

Thank you,