welcome aboard.
if its a 3 wire solenoid, then yes, mounting tab is the ground
if a 4 wire solenoid, then no
was the solenoid from NAPA a marine one, or automotive. because an automotive one will ignite fumes in the bilge and blow you to Jesus or which ever god you worship