There have been no conclusive studies to show that either of these things is an effective dewormer. If you want to feed your chickens pumpkins or sprinkle DE in the coop and run it won't do any harm, but just know that neither of these things will treat a worm infestation. You will need a chemical dewormer for that.