Yeah, I have that option as the last resource I have: RTV silicone + rubber gasket. It's a damn hard work to find all the o-rings/gaskets of the right measure and thickness of your screws and holes. A magic fluid like polyurethane simplify your life: you mount everything, flood the box, screw the lid and you're done. But maybe this is just a dream.This sounds like you need to seal the box. "Seal" doesn't mean, "fill".
I kept humidity out of some lasers (which were inside boxes) without any potting at all.
nitro... whaaaaat?I used "dry nitrogen" as a filler because it did not contain humidity that would condense on the lenses at low temperatures.
Everyday I discover something new on this forum. This forum is like drug!