No it's not. OCD is an associative disorder from a lack of impulse control.
OCD people can't stop themselves from associating freely towards they do not want to think. They clean the kitchen floor not because they think it is dirty… but because it occupies the mind and they can stop the thought stream.