Home office deduction when displaced

I am self employed and have a home office. In 2019, a tree fall damaged my home and i spent all of 2020 in a rental property, covered by my home insurance. I am still making mortgage payments on my home. Can I still deduct my home office?