How the fuck does an android get drunk, even on alien molecules?!
Data wasn’t drunk, he was infected by something that mimicked drunkenness. So the real question is how could a ‘polywater infection’ affect humans and androids, and the same way in both? Also, Data wasn’t ‘intoxicated’ (for lack of a better word) until after he slept with Yar, making it far more morally questionable. But Roddenberry was a horndog.