Yes, though care should be taken because there can be pathogens that are harmful to humans. The compost should not be used on food crops but are fine for shrubs & trees. There are companies that make composters/digesters specifically for dog waste and the USDA has instructions for kennels. Rose Seeman has done extensive investigations into this issue in North America and has written this guide: https://newsociety.com/books/p/the-pet-poo-pocket-guide.