The VO wouldn't know if the funds deposited to your bank account were borrowed money. This is completely UP TO YOU. Funds in your own bank account are definitely much better. Consider getting a GIC, too.
The only downside I see when you take out a loan for your "proof of funds" is that it MAY be a huge financial burden for you or your family while you're studying. You have to make sure you will survive in Canada. There's no guarantee that you'd be able to get a job to sustain your needs. You have to be financially ready.