Conversely: if you want to break a habit you have to create a negative feedback loop. Everything about the habit has to become harder and repugnant so that your brain will want to avoid the activity.
There are four steps to building a habit and they all have to happen consistently for the habit to become a part of your routine. You want a positive mental feedback loop so that your brain is happy to do the habit repeatedly.
Ways to form good habits are and create effective systems: choosing your identity and then repeating the thoughts, behaviors, and actions that match that identity. The feedback loop of repetition is that your habits shape your identity and your identity shapes your habits. If you repeat the behavior