Yes, you can 3D print a mold for food.
While you are able to 3D print a mold for food, we don't wholeheartedly suggest it because our facilities and printers are not particularly food-safe.
However, we have still worked closely with the food industry and have made parts that were used as tooling to make injection molded molds.
Please follow the link to inquire more.