You'll need to be aged 18 or over and have sufficient credit history for an unsecured loan and you should ensure you can meet the monthly payments whether rain or shine i.e. if your recovery is delayed and you cannot work for longer than expected the bank will still want their money.
In an ideal world you would have a passive income like dividends from shares for example that would cover the monthly repayments but you would require substantial investments to achieve this.
NB I am not a financial adviser and the information is not intended to be and does not constitute financial advice.