I have owned diesel engines which I have run for thousands of hours at the same RPM, with no harm in boats. In trucks, cars and RV's the RPS will change as you go down the road. On the other hand, my RV (Cummins 8.3L C series) often runs for several hours on the highway at a constant 1500 RPM. There is also a myth that you cannot run diesels at idle for long periods of times. Look at On the road truckers--they leave the engine at a fast idle for many hours while sleeping to run the AC unit. Some newer rigs will have a generator, to decrease pollution and save fuel for the AC and heat.
Same for outboards; I often run the engines at 3500, 3800 or 4200 and keep then there for hours. No harm.
During break in period --yes, you want to vary the RPM. But once broken in, I see no harm in running for hours at the same RPM.