I think it should be ok after all it's just like feeding your toad a mealworm it will be digested by the stomach acid.
That's my opinion but I'm in no way an expert.