"Do or do not - there is no try!"
I highly recommend yoga - or at least, breath control (pranayama).
The habit is easy to deal with when you learn the knack of letting it go instead of fighting it. A habit is like a crying baby: you can get sticky with it by focusing on it, getting attached to it, struggling against it, and it consumes you. The struggle gets you all worked up inside, you get frustrated & irritated, and its all a waste because it's unproductive and unhelpful (ie, improves nothing, makes things worse) - or you can put it in the same mental category as the vacuum cleaner or dishwasher: just a noise, nothing to get stressed about.
That is, assuming that you're actually not ignoring the baby (as in you're still taking care of it, doing what you need to do for it).
Same thing with the desire to get high (or whatever) - relegate it to just another environmental factor, put your mind on something else, stay loose, keep breathing & keep going..
Works for tobacco, too