Hot glue is great stuff. Find a brand that sticks well. Use alcohol to remove it. It's very easy to work with, and very easy to remove in most cases.
Sticky side of packing tape can be used to shape it while hot and will easily peel off when cool. You can also trim it, after the fact, with a sharp knife.
Sculpting epoxy is sometimes worth the bother for high temp stuff. Kneadatite is my favorite stuff for this kind of thing. It is used by artists and modelers. I have used much cheaper sculpting epoxies in the past, but for this kind of thing, you rarely need buckets. A stick of blue and yellow kneadatite can last decades, and it doesn't leave residue on your hands. Heat it with hot air to make it less viscous and more sticky and to set faster. It is very flexible after it sets, as far as epoxy goes, making it a good match for working with FR4 and plastic housings, and it's very easy to mix up and use in very small quantities.
Hot glue and most epoxies are fine as a dielectric. Sometimes I use a squirt of hot glue to fill gaps in splices of wire with thick insulation before putting on the heat shrink or tape.