Diatomaceous earth is specifically used for pest control and as a health supplement, depending on the product. Generally speaking, it was not developed for use in a litter box. There's a risk your cat will inhale it while digging in the litter.