Yes, it would be best to wash all the rocks, gravels, and sand first.   Then it is gray water.  It has microbes and chemicals that sand will not remove in it.  For the rest of the way to drinking water it has to go through filters down to 1 micron and activated charcoal.  Then to a UV sterilization light, and pumped on to the pressure tank.