Your dragon will be fine, I used to feed earthworms from my yard to a couple of my lizards. They're high in calcium and nutritious but some can carry parasites but most beardies get parasites at some time during their life and are not harmed as long as the load is not high and then you just treat them for it if they seem a little bit off. Your dragon will be fine !