This is basically Cuba's policy (well, Cuba in better times, their rationed food has decreased massively in quantity over time). Everyone has an allotment of basic staples (rice, beans, limited meat, coffee, etc.) that covers your basics with little / no extravagance, or you can go to a grocery store for a wider variety.