It depends on the regulations of each cruise ship. It is generally permitted to bring vapes on most cruise ships and use them while on board.
Some cruise ships prohibit vaping throughout the ship, while others only allow it in specific areas such as casinos or smoking rooms.