That is exactly what I would do with it.
Our county garbage guys are pissy about yard waste.
They don’t like the fact I just rake my back yard and put everything in the bin for pickup. I have three dogs and the garbage men don’t like the poo in with the leaves and pin straw.
Man, it all goes to a giant compost pile. I would think the dog poo would help the composting.