Yes, and other manufacturers make phones that are waterproof. Just one example: Motorola moto x4.
Most milspec phones have been waterproof for a long time. Kyocera has a group of phone models (named Hydro) that are/were waterproof, although they aren't very impressive or popular, and rely on caps with gaskets.