Yes. The criteria that you will need to meet to extend your visa will depend on whether you have a Skilled Worker visa or a Tier 2 General visa.
You can apply for your visa in the first instance for up to 5 years and can extend this as many times as you like, as long as you still meet the eligibility requirements. If you apply for a shorter visa initially, you can apply to extend this subsequently.