Yes, it is possible to borrow funds that exceed the minimum amount for a Golden Visa. For example, for an investment of €600,000, you can take out a loan of €100,000 from a Portuguese bank). If the funds are not borrowed in Portugal, then you can use them for the full investment cost.