Depending on the loan amount and the amount of pensionable income and potential rent i cannot see an issue.
It will be treated as any normal income by many lenders although so will liabilities such as living expenses and this is where a lot of deals fall over.