Sure! There's no good reason why you can't swim while having dreadlocks. What you need to watch out for, however, is their maintenance after a day at the pool or beach. Make sure to dry your hair immediately after getting out of the water. Squeeze all the water out of your dreads, and leave them to air dry. In case they're still not completely dry after a few hours, squeeze some more using a quality towel.