...husbandry. Short of eating something so large it causes a blockage(like a little stone that can't be passed) there's no reason dirt, or even perlite in soil should cause a blockage. Chameleons eat all sorts of insects, beetles are a common meal in the wild, and all of these have shells/chitin...