Yeah it’s definitely a fire hazard, and just a health hazard in general. The pressure should self regulate, as it gets hotter it will increase pressure, which makes it easier to cool down. Would be in something metal that could take the pressure. And completely sealed so no air can get in all heat would have to conduct out.
Mineral oil is what i was planning to use, it’s issue is that’s it’s pretty viscous so would need to be moved around mechanically. Some plastics are ok with ipa (can use other solvents)