Can I use it for my boat or dinghy?

No, Smart Alarm works only for vehicles that are moving or parked (no movement).

A boat due to the waves is always moving, even when anchored, so Smart Alarm will be always in Alarm mode that is not an allowed use and the battery will last for few days.