Can rusty cylinder heads be used?

mine were pretty crusty and turned out fine
they had been sitting in a garage for 30 years
broken spark plugs in each hole
pitted surface rust everywhere
i'm not sure if they tanked or baked them but they're ok
i don't have any before pics but the after pic is in a post I just started earlier this morning