Yes, that is also how the deposit on a can of soda works.