Keep the dum healthy in correct temps, and it is not a problem. They are able to digest bones and teeth.
When they get substrate stuck in their mouth, they do a good job of getting it out too.
If you're worried, you can always place a plastic lid into the enclosure and feed on top of that.