No, that won't work. The myth that it works as a wormer is very prevalent, but it doesn't.
To work it needs to be dry. It's not dry once it's eaten. It supposedly kills bugs by drying out their exoskeleton and absorbing fats and oils from the cuticle of the insect's exoskeleton. It is ONLY effective if it remains dry and undisturbed.
If you were thinking it was absorbed into the bloodstream when eaten and was killing worms that way, that's also not the case. When eaten, only a trace amount is absorbed. The rest is rapidly excreted.
Additionally, it is very abrasive and has sharp edges, which makes some people think that when the chickens eat it then it cuts up the worms and kills them that way. Well, if that was the case, it would also be cutting up the chicken's digestive systems as it passes through. This obviously doesn't happen, and if it did, it would be doing more harm than good. It will do nothing for worms.
Additionally, DE can actually be a bit of an irritant. If the chickens breathe it in, it can irritate their nasal passages. If it gets on their skin, it can cause irritation and dryness. Of course, it can also irritate the eyes.
This is a copy/paste of one of my previous posts on the subject, so apologies if some things don't seem to match what you're asking.