Is it possible? Legal? in bank I was told I can't do it.
Yes to both, as stated above. Bankers will frown on it because it doesn't really make sense that someone will be diligent in repaying an equity loan that they borrowed to borrow a debt loan. Very high risk for bankers, worth a talk with a mortgage broker here.
A big question I would have is why do you need to buy a house right away? Where do you see the advantage of owning today?
A lot of costs are buried into your rent that are direct cost transfers and will save you absolutely nothing to own, ie. property taxes, insurance, maintenance, and utilities. On a SFH, you are looking at around $700 sunk money every month whether you are renting or owning.
Then there is the loss due to purchasing a home with high-equity mortgage. With today's mortgage rules, you will be required to get CMHC loan guarantee at a cost of 3.6% of the total home value. This is a fee added to your mortgage but will increase you mortgage payments and will need to be repaid before you sell. Typically to sell you will need to pay a Realtor and will need a lawyer. So just to break even on your initial cash equity invested to buy the home if you had the 5% cash equity as a down payment you would need to pay down the mortgage for 3.5 years (in a flat market).
In a scenario where you borrow the initial 5% down payment, you are actually over 100% financed on the property. You purchase a condo worth $200,000 but with 3.6% CMHC fee for high ratio mortgage you owe:
$8,000 + interest on the borrowed funds you contributed to your RRSP to get a ~20% rebate cheque for $2,000 to put down $10,000
+ $197,200 in mortage (200,000 home - 10,000 down payment + 7,200 CMHC fee)
= Debt $205,200
3.5 years down the road:
Sell at $200,000 condo purchased value
- $205,200 debt (25 year, 2.5%)
- $11,000 Realtor fees to sell
- $1,500 closing costs
+ $21,650 PPD (2.5% on debt of $205,200)
$3,950 total proceeds
Keep in mind, your mortgage payments were $920 / month + $170 property tax + $50 insurance + $200 condo fees = $1,340 per month.
A condo worth $200,000 in Edmonton will rent in the $1,150 range all in, so you are losing $190 / month for 3.5 years = $7,980
Buy the condo and sell: $3,950 proceeds
Loss from not renting: -$7,980
Loss from buying not renting $4,030
Unless you speculate on an aggressively increasing market it usually does not pay off financially to borrow to purchase.