No, Ditto cannot transform into other Pokémon during the Deluge event in Pokémon Mystery Dungeon: Gates to Infinity.
This limitation is specific to that event's mechanics.