No it's not. Willpower is a brute force decision to stop and then fighting the urge until you beat the urge.
Deferring a decision to do something for increasing periods of time is not fighting yourself. The key is that when the defer period is up, you either do the thing such as smoking a cigarette - unless you are OK to defer a little further. You're not in a fight with yourself. It's just that eventually the defer period becomes so long that its same as stopping entirely.
A strategy of deferring doing something is working with your subconscious mind, not against it.
When temptation strikes, deferring that temptation is an act of will. Saying "not yet" and "not now" doesn't make it any easier and feels no different from "no" to the part of your brain that's craving it.
Most people have to have that cigarette/drug/etc right away, present conditions be damned. Distancing one's mind from the strong craving requires immense self-control as it's very uncomfortable, perhaps even painful, to do so.
You need another tool. Often people use distraction, look over here at this shiny thing. Perhaps this is what you used, if you think back on your experience. Distraction is essentially a type of substitution.