You can't actually get dirt in your garden in RuneScape, as it isn't a feature the game offers. I've played extensively and reached level 135 without ever coming across such a mechanic, so it's safe to say gardening in that sense simply isn't part of the game.