3D carving Shapeoko 5 pro

The problem with image to 3D is that very few images map light/dark to height/depth — you can create a halftone quite easily:

or a lithophane:

https://community.carbide3d.com/search?q=lithophane

but getting 3D from a flat 2D picture pretty much requires that a person create some sort of 3D model representation.

If you have a number of images, it might be possible to have a computer program composite them into a 3D model — the technical term for this is “photogrammetry” but the programs for this often require that the photos are taken in the application. Or, if you have the 3D object in question you could scan it in 3D given access to a 3D scanner.