No , iPhones are not waterproofed, at best they are water resistant.
You can’t take it swimming or in the shower.
The seal on the phones may handle a quick spill, but unfortunately long periods in water can be very bad for the phone, as the gaskets on the phones dry out and the charging ports do get corroded over time.