The flange is okay. It's so thick that it won't likely rust through.

Stainless is durable enough as a pipe. It'll let through more heat than your stock exhaust manifold, but so will an iron header, as both are much thinner than the stock one.