Yes, but the lender may ask for written confirmation from your generous family member that the funds really are a gift and not a loan.
If you need mortgage loan insurance, CMHC requires you to have the gift money in your bank account before you submit your application to them.