If you have a 3D model, then the tool made for creating a bas relief for carving is:
https://shop.carbide3d.com/products/relief-maker
From a photo, some folks have been successful with using a large language model:
and I believe that there are specialty tools for that task.