I am surprised by this question as actually iron has, and is, used in boiler manufacture. You have not said of what kind of boilers you are thinking. In general, iron has been replaced by steel as steel is both stronger and cheaper, and can be welded which makes the manufacturing process cheaper too. Cast iron is also more brittle than steel.