Yes, local police have the authority to board your boat if they have reasonable suspicion that a crime is being committed. Once on board, they can conduct a search of the vessel and its occupants. If they find evidence of criminal activity, they can make arrests and seize any contraband.