You can split loans into different parts for different purposes. You're already planning to do this to distinguish between deductible and non deductible debt.
The challenge is that most loan products have minimum sizes, so you can't split it into $1000 here or $5000 there. This also becomes...