You can, however lenders will seriously question your ability to commute 100 miles. Typically, lenders refuse to give buyers low interest rates, low fees and terms for residential loans when the distance between the primary home and their job location is beyond a "reasonable" commute. When distance is 100 miles, lenders will tell you that this is an investment loan which has higher interest rates, higher down payment requirements and higher fees.
You will have to convince lenders that the commute is "reasonable" and this is not for an investment loan. Good luck.