That's why intermediate 6mm cartridges exist. 6.5mm CM, grendel and better yet .300 blackout. All easy conversions to the AR platform. All you need to go from a base .223 ar to a .300blk is a barrel swap.
If the SHTF .223 is probably better to barter with if nothing else