This is very possible, but also there could be multiple reasons.
I don't drink any coffee and have a lifestyle very similar to OP's, and usually can't fall asleep before 2am. It strikes me as improbable that people with similar lifestyles would have different sleeping habits. However, some of us may have developed these habits for the very reasons you mention; I for one had a terrible time at school.