Yes, we do that. We have a deep litter run floor using compost dirt with mulch and dried leaves. We add sand from construction work in the yard, but not too much, it drains well but doesn't dry easily in our environment. If you need a ratio, I would say ours is 80 dirt / 20 sand.
Given the extreme heat indexes lately, I hose down the run every day now to cool and dampen the dirt in the heat of the day. It helps to cool them down and it's dry again by morning on the surface despite the high humidity. If I feel it's too wet from the puddles I create (which they often stand in), then I simply till it over a few inches deep. The sand helps to maintain the moisture but doesn't turn it into a smelly paste. Use your judgment on ratios, you can always add more sand.