You have to be strict with yourself.
Even if you do rehab, you will have to return to your life and all it asks of you.
The next time you work from home, could you try to go an AA meeting or a SMART meeting?
Everyone is still allowed a lunch break when they work from home. You could go then maybe?
Or find one in the morning to go to and see if that helps you stay sober and not tempted to drink?
I would also say don't risk loosing your job over drink.
That could make everything worse.