how to create a 3d mosaic out of a 2d image
The only automation you can have is to translate the brightness value of every pixel into a height map, setting it as texture in a displace modifier on a highly subdivided plane. The result is quite random because of the problems Martin Z said. In my example we have 1.500.000 vertices.