The benefits of an indirect water heater make it a viable alternative.
Cold water got one pass through a coiled copper heat exchanger mounted in the top of a boiler in which to transform itself into domestic hot water. With a demand of perhaps 1 to 4 gpm this could usually be accomplished, provided the boiler water temperature was always maintained in the range of about 140 to 200+ degrees F.