They kinda did build a one size fits all engine but it was a 4 cyl triple expansion reciprocating steam engine of 2750 indicated horsepower.
But (again) it made more sense not to take functioning ships of a multitude of designs out of service to refit them,instead building corvettes,frigates and...