You can find many epoxies and some other resins that are certified food safe. Casting resins are often used for items that will be in contact with the body or food. The US and EU (and I assume other countries), have standards for certifying the materials as safe for these purposes.
There are actually several parts to the answer. Certain kinds of plastics are approved for certain kinds of uses (e.g., incidental or single-use contact vs. storage or repeated use, dry vs. wet, etc.). For a type of plastic that is suitable for a purpose, the manufacturer gets their particular product certified as safe. So a product that is food safe for one purpose may not necessarily be food safe for a different purpose.
I can't recommend a particular product, but search for "food safe" at whatever source you will buy the resin from. Then just verify that the item description says "food safe" (it can't be legally described as food safe if it isn't certified as such). And be aware that you may need to verify whether the food safe rating covers your intended use.
In any case, "food safe" assumes accurate mixing ratios, thorough mixing, and fully cured. If those conditions aren't met, it will still contain materials that aren't good for you.
Be aware that most epoxy resins you find will be designed for one of two kinds of applications--either casting or coating. The casting resins are typically low viscosity and are designed to cure in a thick casting without generating runaway heat. The coating resins are typically higher viscosity and are designed to cure in a thin layer (usually less than 1/4"). If you try to cast something thick with a coating resin, it can generate intense heat, the resin may boil, and you will likely ruin everything involved. Just check the product description for the maximum recommended thickness.