None of the things you mentioned make sense in the US.
Selling behind bars doesn’t solve any problems for CVS, Walgreens, etc. These are big stores with a lot of walking surface that benefit mostly from uninterrupted traffic of people.
Paying gangs? Dude, these are not gang-level crimes. The people who loot stores are uneducated poor people with a low sense of morality. But what you’re suggesting is absurd simply because paying criminal organizations for protection is a crime itself.
The last point does make sense though. But again, this completely ignores how retail commerce and urban distribution works in the US.
These are all ideas that only work in corrupt, lawless and economically challenged settings.