So when you use the Dragon Form spell, you gain the Dragon trait:
Dragon Trait wrote:
Dragons are reptilian creatures, often winged or with the power of flight. Most are able to use a breath weapon and are immune to sleep and paralysis.
I bolded the relevant bit here. Does this make you immune to sleep and paralysis while using this spell? Seems like it does here.