Shouldn't be that difficult. Most pumps of that type have 3 wires, one for the float (always on) and one for "manual". In my experience any time the float comes on the "manual" lead becomes hot and can drive an alarm.
There's a trick to this though as any time you turn on the manual switch you'll also set off the alarm. You'll probably need to replace the switch with a double-throw switch, so the alarm only works in the "auto" position.
Offhand I can't remember how mine are wired but if you need it I can go down to the boat and figure it out.