If I was fired this year, am collecting unemployment but writing in hopes of selling my work when completed, can I claim the home office deduction and expenses?

I fully intend to Perdue this as my career going forward, while also seeking gainful employment to keep my options open and comply with unemployment rules. Additionally I have spent a lot on office equipment and reference material in the pursuit of completing the material to have published.