If you want to sell a product you would have to register that deposit in the database, similarly if you get it back you have to access the database to know how much to pay out. If you don’t want to limit selling products to large businesses everyone needs access.
Sure, consequences for littering are fun and all, but the passive surveillance that allows is terrifying imho.