The reason why I had that thought process, was that I know that powdered DE is included in livestock feed (and for cats and dogs) to remove parasites from the gut. I assumed a similar action could occur for earthworms but I am happy to be incorrect and better educated!
Edit: I didn’t think any graingers were around the burgh, but there is one in town and by the airport. Thanks!