An easy hypothesis to check given the millions of people who do exactly that each summer. The answer appears to be that if your sleep quality issues are lifestyle related and you are simply unable to make yourself practice sleep 'hygiene', then yes, it shift your sleep cycle to fall asleep earlier. If you do already practice proper sleep hygiene but still can't sleep normally, or if you have any kind of physical problem like sleep apnea, then no.