lol i rarely glue wires, and use RTV when i do.
rtv secures boards far better than hot glue as well.
Yeah you can use RTV, but as a silicone product it will eventually break down slowly on a chemical level over the years. Even the high grade stuff also has a issue with releasing acetic acid while curing. That stuff can be bad news for pcbs, which is why it is not normally used for computer boards, and instead used for gaskets and sealing bolts, etc.