"You could have a drink, nobody would know.
Had exactly the same thought and no support anywhere at the time.
I just thought the opposite, closed my eyes ( this was in a very crowded public place) and thought the word, "God".
Sat down, had a coffee and the impulse and thoughts of drink eventually evaporated. Then other good things happened till the end of the day and just glad I did not act on the drink thought.
My mind still tries to "trick" me, but the "nobody would know" trick has never repeated itself since that moment.
I know, it comes out of nowhere, the alcoholic mind will do this.