You can weld cast iron with the proper welding rod and technics. But for this application it won't work. Because of the expansion and contraction of the exhaust manifold from being heated up and cooled down, the weld would fail.
If welding exhaust manifolds worked, that's what I would be doing. But I replace them instead.