There is no definitive answer to this question as it depends on the dog and the rat's individual habits and preferences. Some rats may be attracted to dog poop because it is a source of food and water, while others may be attracted to dog poop because it is a place to hide or roost. Ultimately, it is up to the rat to decide whether or not it is interested in eating dog poop.