It is possible I guess, if you bother to check.
OCD is caused by an imbalance in the brain, and theoretically dogs could have it just like humans...
How does the dog behave?
I know humans receive anti depressants and anti anxiety pills. Maybe a similar treatment could apply to the dog...
Good luck