The simple answer is yes, but you may be limited when it comes to getting a mortgage. The first question to ask is, are you a first time landlord or a first time buyer? This is key as a large percentage of lenders need you to own your own residential property (possibly for at least six months) before they will offer you a buy to let mortgage. Some lenders just need you to own a property, so you could have another buy to let property but live in rented accommodation.
If however you are a complete first time buyer (or don’t currently own a property) then your mortgage options will be limited. An adviser will know the best lenders to speak to.