Yes, it's true that OCD can be triggered by anxiety. It can also be triggered due to other factors like stress, abuse, trauma, etc.