Yes, treatment can still work for you. Although hand washing and fears of germs and contamination are common OCD symptoms, OCD is not limited to these, OCD can take on many forms.
However, movies and literature often associate OCD with fears of germs or contamination, so that is what most people are familiar with.
Rest assured that the treatment that works for the hand washing and germ/contamination-based OCD also works for the other presentations of the disorder. Treatment works on all forms of the disorder because the underlying mechanism in OCD is the same no matter what the presentation is, an overactivation of the Fight/Flight/Freeze (FFF) response.
The goal of the treatment is to get to the heart of the trigger of the FFF response and to have people sit with that trigger without trying to undo it, allowing themselves to recognize that they can handle what it is that they fear.
That is, treatment teaches sufferers to face their fear instead of trying to undo it with a compulsion.