For sealing against bugs, condensation, and the like duct seal putty or expanding foam are fine.

For explosion proof wiring you’re limited to listed materials — and that rules out PVC.