Mortgages for Right to Buy properties work in the same way as typical residential mortgages.
In fact, anyone purchasing their council house through a Right to Buy scheme has access to the same mortgage deals as anyone else.
The amount you can borrow will depend on the market value of the property, the size of your deposit, and various affordability criteria such as your income and credit history.