Yes you can, provided your sponsor give in writing that you will be provided family accommodation in addition to your salary.