I wired a 35 ft. sailboat as a side project some years ago. I had to do a large amount of reading to get up to speed on it, not sure how much I retain.
But I do remember that it is very bad practice to allow metal parts of the boat serve as a path for any kind of voltage. Stray voltage on boats, and concommitantly in marinas, is a huge problem. Besides shock hazards, it results in premature and often startlingly fast corrosion of metal parts, as an anode/cathode situation is set up, as in a battery.
(Edit--this being said, I was working on a fiberglass boat, not sure how you would avoid it on a metal hull)
(Also, if you think some topics or practices are controversial on this forum, you should study boat wiring a little bit ! Some things which you would think would be basic practice don't seem to be agreed upon at all (such as whether to bond or isolate metal through-hull parts on a fiberglass boat, or the protocol for lightning protection.)
There is a set of standards put out by the American Boat and Yacht Council
(ABYC), not sure of the universality of its acceptance.