The Goldilocks Rule states that humans experience peak motivation when working on tasks that are right on the edge of their current abilities.
Anyone can work hard when they feel motivated. It’s the ability to keep going when work isn’t exciting that makes the difference.
So try to set up the level of your habit in that way so that it matches the Goldilocks Zone. If you can increase the level and then just shorten the time, it will also work.