It's totally fine. My chicks were just doing that too so I got a little container and filled it with sand/dirt and they loved it. They would eat it(as grit), scratch and play in it, and even sleep or sit and bathe in it. It's just a natural instinct so I think it's fine. Try it out. Just don't give them rich soil, just something kind of dry and sandy is a lot better.