I am also around 40mins away, but you can try to get exempt from dorming.
With commuting you won’t be making a lot of friends or meaningful relationships, or at least it will be a lot harder.
If you’re not looking for that stuff really, then you can just try to commute.
Also if you’re an incoming freshman, I am too so we could b frands