Is a foodsafe resin possible?

Your best bet is probably to make a mold of the 3D printed part, then cast it out of an actual food safe resin like Smooth-On Task 11, or some of the clear resins they use to seal tabletops.