Discovering the hows and whys of forming habits is a lucrative field.
It's a prominent study in the marketing world - if a business can find out how to make a customer loyally buy their brand, they've got a customer for life.
The trick to this is guiding the customers into forming a habit. Many businesses do this with loyalty cards - it's a simple way to keep customers returning.
All it takes is a few free coffees for a customer to habitually buy from that cafe.
It's a concept that also translates to things like reducing waste.