Yes, you can. However, if you choose to take a new mortgage for your new home, you may incur early repayment charges or exit fees. Make sure this is taken into account when researching your options.