Why?
Yes, and you can do that! You can ALWAYS make a longer term loan into a shorter one: just pay it down faster than scheduled. (A ~4% interest loan is a moderate cost loan, and it's much more interesting and attractive to accelerate repayment on that sort of loan. If, on the other hand, the interest rate on your loan falls to 1%, then thank goodness you took the longest term loan, because it's most probably a license to print money as you arbitrage your low cost 1% loan for reliably higher yields with your dollars elsewhere.) You cannot do the reverse without refinancing, which costs money and may not even be possible.
The ONLY reason you should take a shorter term loan than available is if there's some tangible financial advantage in doing so and if the loan is still affordable. As a notable example, if the shorter term loan has a lower interest rate, that could certainly be interesting and compelling. But if the T&Cs are identical between, say, a 10 year loan and a 25 year loan, and if there's no prepayment penalty, ALWAYS take the longer term loan.