I'm sure it depends on the dog. Some dogs are prone to OCD, just like people.
I'm interested to know if anyone has a solution for the peeing. My guy does this too. We can go out for a potty break right before we play indoors, but if he gets too worked up, he'll pee. He's bold as brass about it too, he lifts his leg and everything. He seems to think he has a license to pee in this situation.