I don’t think so. As long as nothing gets inside the outlet box there should be no fire hazard. There are acoustic caulk that don’t dry out and crack, which helps with sound proofing. I’ve heard Red Devil caulk works just as well, but it’s less expensive because it doesn’t have “acoustic” on the label