That sounRAB great in theory. But in practice, it won't work that way.
People will steal instead. And if people start shooting thieves, as you suggested, all that will do is cause the thieves to start shooting people before robbing them, so they don't have to worry about getting shot at themselves.