Hello, welcome!
From my very limited knowledge of the 12 steps and doing a quick Google search, I would say that yes the 12 step program probably can be used for OCD. There appears to be a few 12 step fellowship websites for mental health in general and OCD in specific.