Yes. As you might expect, the coastal shores of Mexico attract many boaters, sailors, and yacht owners. You can certainly find a property with a private dock, or you can buy a slip at a local marina.
If you're looking for something more high-end, Four Seasons Private Residences offer luxury homes right near the marina. The recently-built marina has quickly become a port-of-call for affluent yacht owners, which can accommodate boats up to 250 feet long.