If you’re self-employed, you can claim your home office under two conditions:
1) The work space must be your principal place of business or used exclusively for the purpose of earning income from business.
2) The space must be used on a regular and continuous basis for meeting clients, customers or patients. It’s important to be realistic when claiming the size of your home office. One of the most common audit triggers is claiming inflated home office expenses.
For more info you can take a look at https://www.canada.ca/en/revenue-agency/services/tax/technical-information/income-tax/income-tax-folios-index/series-4-businesses/series-4-businesses-folio-2-deducting-business-expenses/income-tax-folio-s4-f2-c2-business-use-home-expenses.html
Let us know if that answers your question.