Yes, if you plan to let out part of the property, you can still take out a business mortgage.
The lender will generally check the affordability based on both your financial performance, plus the proposed rent and lend on this basis.
Where your business performance is not able to support the loan and you’re relying solely on the rental income, issues may arise Lenders will usually expect to see financial strength in the business that they are lending to.