Google maps says it's about an hour by train. I think it should be manageable if you manage your time well. One of my friends has a 2 hour commute and they're doing fine (although we've had hybrid teaching this year so we'd only need to be on campus 3 times a week mostly). Maybe visit the uni as if you had a 9am to see how the journey is in the morning and if you'd feel ok doing that every day/most days.