I don't have specific references on hand, but I'm pretty sure that your wager would be ill-begotten. Studies have shown that simply abstaining from distraction takes mental energy (for lack of a better term) and reduces performance in a number of ways. This suggest that designing your environment ahead of time (what OP is trying to do) is more efficient/productive than resolving to maintain disciple in the moment. Again, I don't have specific references on hand, but I know that this phenomenon is discussed in both Thinking Fast and Slow[1] and the Craving Mind[2].
[1]https://www.goodreads.com/book/show/11468377-thinking-fast-a...
[2]https://www.goodreads.com/book/show/32714199-the-craving-min...