The advantage of sand over dirt is it does dry out faster. The only way you're going to end up with soggy sand is if you have a major spill. That happened just a few weeks ago to me. The water tank nipples got hung up on the wool cover I place over the water heater blanket to keep the water from freezing. The chickens had been playing with it and it caused a nipple to be on the drip position long enough to empty 5 gallons of water onto the sand under it.
I did not need to shovel and haul the wet sand out. I merely stirred it up, aerated it so it could air dry. It was dry in two days in spite of the freezing cold. It did not freeze solid because my enclosed run stays ten degrees warmer than outside and the chickens kept it stirred up since they love digging in damp sand.
Unless the dirt you will be using is clay based, but a sandy loam, I don't see why it wouldn't work just as well as sand. I use a cat box scooper to pick up the poop. There's never been a odor or fly problem. However, no matter what bedding you select, shavings, sand or dirt, there's going to be dust. In summer, I do spray the sand with a fine mist to provide evaporation for cooling and it keeps the dust down. In winter, I just put up with the dust.