I'm not sure what it is you want. On the ground, there should be no yaw rate to be damped.
Many helicopters with AFCS incorporate a weight on wheels sensor to change gains when on the ground, just to further complicate matters.
Dutch roll is normally referred to as an aerodynamic phenomena where roll and yaw movements couple together - on the ground neither of these should be present.
If you are talking about some tail boom movement on the ground that is a different story, and I don't think that a yaw damper would help here, as it would only sense yaw rates of the fuselage.
Need more details about the problem.