Yes, but washing with water alone won’t actually clean your dreadlocks, and this isn’t recommended. To clean your hair you’ll need a surfactant which is the primary ingredient in just about any shampoo. If you’re looking to moisturize your scalp without using products this can be an option that you can experiment with. Just be aware of hard water and it’s drying effects.