Most lenders limit this to immediate family. Some lenders will allow friends and more distant family members to gift you money. If you’re buying from your landlord it may also be possible for them to gift you money.