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.
This is how you cook with stainless. Get a high smoke point oil, get the pan and oil plenty hot, the put the food in. It immediately sears the contact surface and this is what prevents sticking. This is also why you slowly place food in the pan (other than to avoid spatter), it gives a little extra time for this to happen. Otherwise you gotta wait for the surface to brown and hopefully unstick, which might work for things like chicken or the skin side of fish, but anything liquid like eggs or super soft like the fish meat will have a good chance of sticking.
IOW, just do what chefs usually tell you to do with stainless and get it hot with the correct oil. Best odds of not sticking. Modern non-stick pans are pretty good if you obey the rules about using them.
Yeah plus when cooking some foods in stainless (such as meat) you want some sticking so you can build a fond which you then deglaze to make a pan sauce. Carbon steel is less ideal for this because the seasoning will react with acids such as vinegars, wines, or citrus which are all common ingredients in pan sauces. While a well-seasoned carbon steel pan can survive a deglaze with vinegar the dissolved seasoning can ruin the flavour of your pan sauce.