I have a S&W M&P 15R (5.45x39). In that caliber, my only choice is Russian steel-cased ammo. Fortunately, I’ve only had to knock out a stuck case just once in 2000 rounds of use.
My buddy’s wife has an M4 that can fire 100 round Beta mags of steel .223 without a hitch.
It all depends on the gun. Of course, the 5.45x39 has a more tapered case, too, which helps.