No, this isn’t a cast iron thing. Using stainless pans, you can get nonstick effects that, in my experience, far outperform Teflon anyway. The process is called “spot seasoning.” I have cooked crispy, cheesy rice noodles with eggs with zero sticking.
I love my cast iron pans, but stainless is my daily go-to. Added bonus: use 100% copper wool to clean your stainless pan. The copper-coated wool at most grocery stores is problematic; you might get a few uses out of the coated garbage and then it starts shedding metal bits.
Veritasium made an interesting video about this. The teflon on pans shouldn’t be dangerous (unless heated above 350°C), but in the process of making teflon dangerous “forever chemicals” do get released
https://youtu.be/SC2eSujzrUY