No, people under drugs or alcohol can't give consent. Saying yes when you're drunk or not awake isn't really saying yes.