Theoretically, a dog could also get sick if they ate a large amount of cat litter, since it absorbs moisture and could cause constipation or an obstruction. You can try to use a baby gate or cat door to allow the cat access to the litter box while keeping the dog out.