+1
I’d stick with a good thermally-conductive epoxy encapsulant. I think there are some good options available from Stycast (now owned by Henkel/Loctite) as well.