Might not be a good idea.
If the threads are part of a weld nut on the inside of the pan, there is no seal between the weld nut and pan. With this configuration, the underside of the plug has to seal on the outside of the pan.
On the other hand, if the threads are in the pan material, then the thread sealer would work.
Dan
Use teflon tape or pipe dope instead ...