Yes and no. Rats do eat dog poop, but I would not say they are generally attracted to it. There are many other foods that a rat prefers to eat, such as nuts and berries. Feces is way down on the list of foods that attract rats, but you never know how hungry they are!