Anyone know of a resin that can be cast that will hold a screw?
metal filled epoxies are ok. I think you would need a reinforced system, just because the treads are very small, and can break easily.
Depending on loads, you can get away with regular epoxy resin, perhaps some aerosil mixed in. I always did fittings on my boats that way, and I never pulled a fitting.