Random Personal Project Idea

As long as the drive wasn’t active (plugged into anything) when you dipped it, my guess is that it would be fine. A lot of analogue electronics are epoxy dipped to either reduce solder joints coming loose due to vibration, or to limit repair-ability. My long term concern would be the reduced capacity for heat dissipation, especially with an epoxy or similar.