According to Osho, no. The force behind awakening doesn’t come from keeping vows but from awareness. Vows differ—some trivial, some harmful—so their impact is case by case. What truly decides is consciousness: be awake whether in a temple or a brothel. Whatever is done consciously becomes dharma; whatever is done unconsciously is adharma. Prioritize awareness over promises.
It’s not promises that wake you up, but being fully aware of whatever you’re doing.