If you vaped the same amount as a cigarette then yes. Unfortunately vapes get you to vape way more. On top of that Social norms around cigarettes create barriers for smoking that don’t exist for vaping. Somehow smoking a cigarette indoors is extremely frowned upon but you could be sitting on a couch vaping all day and no one will bat an eye. The fact that you have to physically go outside to smoke is a sufficient enough barrier to reduce consumption.