Yep, though sometimes snails/slugs/earthworms carry worms (yes it sounds weird, but they can carry worms). Just check the poops of your chickens every once in a while to make sure nothings wrong. Some chickens enjoy eating snails whole, while others avoid them.
Good Luck~