Yes, but do not get any in your water or fuel tubing, it will make them soft and deteriorate. I like to use it only when the engine is out of the boat and being stored.
In between days at a race a run WD-40 through the engine and then flood with Marvel Mystery Oil.