Yes, but I need to alternate with our dogs ... sometimes I need to get them back in the pen/coop around 2 pm. Waaaay before they want to. They are not done with the compost pile yet.
I think that will be hard. When training any animal you have to work with their natural instinct, or trick them. Food can be used to trick them, but they have to be hungry, which means if they gorge on the compost pile they may not want to go in at 2pm.
Maybe if you feed them everyday at 2pm, they would get use to it, but your are fighting their nature doing that.