A question about iframes and select the profile image from the camera

It’s possible to enable the image picker when you select a profile image (for example) in an iframe selecting it from your camera? I don’t know if that task it’s related to the server or mobile logic.

let imagePick = iframe.find(’#inputImage’).attr(‘accept’, ‘image/*;capture=camera’);

I tried to change the input type in jquery doing this, but doesn’t works. Anyone can help me? Any idea?