Sometimes but rarely. The mortgage lender who offers you the mortgage for the Right to Buy will give you a much cheaper interest rate because you will use the full deposit as the deposit.
Just note that not all mortgage lenders offer Right to Buy mortgages.