I did some poking around online, and apparently only cheap polyester epoxies melt foam. Resin epoxy is supposed to be fine. I actually found several applications in marine use where foam is covered with epoxy resin.
It seems to me that epoxy is 10X easier to work with than silicone. Then again, silicone is probably 10X cheaper.