photo macarons are a thing, and they are absolutely gorgeous. The process is actually pretty simple: you start with a blank macaron shell, and then use an edible ink printer to print out a photo onto edible paper. Once the photo is printed, you simply attach it to the shell with a bit of edible glue.
https://inkedibles.com/cic/product.php?id=ie-macarons