Is it possible to make an oath to control one's actions?
It looks like your problem is that you want to practice but you don't want to practice. 

This whole fiasco can be pondered. The whole thing is the three characteristics manifesting. Are you in control? Do your plans and focus keep ending? Are you suffering? What are you learning? Ask yourself what you are taking for granted.

You could learn a lot by just pondering what is driving your every action, your karma. 

We are either distracted or mindful. 

Check out the 5 hinderances that are in your way. 

Don't make vows or oaths but instead undertake training to not do or to do X and if you fail ponder it but don't react like breaking the training rule must be punished or reacted to is some way. Don't get angry, get compassionate. 

Check out how to overcome procrastination. LOTS of people have procrastination problems. There are a lot of free pdf's or ppt's online about procrastination.

Do not smoke marijuana everyday because it often zaps ones ambition.