Adding to @Gala's answer:
I live in Amsterdam these days, and only bike to work - ~15 min door to door. Before, I used to commute - although not in the Netherlands. I was once working somewhere that was 10 min + 70 min train + 5 min walk; and another time, a 25-45 min drive.
I can't tell you how much better it makes me feel having to commute less, or nearly not at all. It's like work is an entirely different experience. Daily commutes, especially long ones, wear you down in my experience. It makes your day a sort of a burden, adds a long period of self-sacrifice or self denial. So while it's perfectly doable - I would definitely consider moving nearer to work, even if you have to pay some more.
Also remember that even 45-50 min per direction per day are more than 1.5 hours of your day, every day. Your waking time is already just 16 hours, so you basically cut it by 10%. Now, ok, you can maybe nap or read, but that's not very effective. So that actually costs quite a lot, even if not in terms of money.
If you do choose to commute - try to make the experience as smooth as possible for yourself, which may be even more important that the time spent:
- Bike on both sides: Consider a simple bike in each city; probably something simple and with a good lock so it doesn't get stolen. But you might prefer walking, since while it's slower, it's a little less stressful.
- Consider getting something like a neck pillow, eye cover, noise-damping ear buds - if you want to sleep; or invest in a good e-book reader if to want to read, so your eyes tire less. etc.