How about I vape in the bathroom at work on breaks?
If you do that won't you get in trouble with your boss?
I'm just addicted to vaping.
I can understand your need for something that is addicting. You are expected to act professionally at work and not to do something that will get you in trouble. You should start taking those breaks outside.
It's not just a bad habit, I enjoy it.
You can do whatever you personally want to do, as long as you're okay with the risks involved and this one comes with a lot of them. You could lose your job, because your boss will expect you to be professional while at work.