Yes, you can compost dog poop. Instead of becoming an environmental pollutant, it can be a nutrient for the plants in your garden. Dog poop is rich in nitrogen, so it means it can deplete oxygen levels in the atmosphere. Basically, its a pollutant that can be converted into a nutrient that can give life to plants which release oxygen.