Ten years is usually the minimum and redemption penalties often apply if the customer overpays so as to reduce the term agreed
The shortest mortgage term is usually ten years from the date it is granted. If the term you require is shorter than that, say five years, then a bank will tend to suggest you consider a personal loan.
You can, of course, reduce the term of a mortgage by overpaying on it during its term. You will always need to be aware of any redemption penalties and factor them into your decision-making on whether to make additional payments.