Yes! Swimming in French Polynesia is safe whether it is a lagoon or the ocean. Ocean life tends to be quite harmless and lots of water activities are overwatched by trained aids.