As long as the boat is connected to a shore power, an electrical outlet ground would be fine.
When a boat is not connected to shore power and running on a generator, the outlets may not be
grounded and you would have to ask the manufacturer. If your boat is in ocean (salt) water, you
can connect your Earthing device to a ground rod and dangle it over the side into the water. Sea
water makes a good ground.