This is going to be expensive
I also have a raw water cooled yanmar and was disapointed to find it can't make hot water.Seeing as the boat has hot water plumbing and all.If you are on a mooring and you need hot water, Diesel,CNG or Propane are the only real options. Electric (battery to inverter) will distroy your battery in short order. There are 12 volt water heater elements on e-bay but the same rule applies. Too much current.Diesel is safe convenient will also heat the boat (Espar is a supplier of these). They are also expensive.Converting the motor to fresh water cooling is always an option.Sorry. There's no cheap way out that I know of. If you find one please post it.