Definitely. A house to live, as much of an investment, is also a lifestyle choice.
A 45 minute commute one-way is 375 hours in traffic for the 250 day working year. That's over two weeks straight in traffic for the year!!
This, compounded over time, can take years from your life!