Yeah, I don't know why our school hasn't done something similar. We have an app where we can order and pay for lunch orders. Surely they could implement tokens or vouchers for stuff like this.
That said, I think a big part of it for the kids is having some coins in their hands, and shopping for stuff, calculating what they can afford, how much they'll have left, etc.