Using a compatible gasket sealant (follow the instructions on the sealant you choose – many are specifically for transmission pans) helps create a better seal and prevents leaks. Apply a thin, even bead of sealant to the gasket according to the sealant manufacturer's instructions, *not* directly to the transmission pan.
In short: Yes, using sealant with a new gasket is the best practice for a reliable seal.