Can a working-from-home CA employee with part time realtor job write off home office expenses as a realtor and employee both on CA return??

Hi there, I got W-2 and 1099-NEC for being an employee and a part time realtor in 2020. I only worked in California. I wrote off home office expenses for realtor job as part of my business expenses. My question is, since CA allows employees to claim home office expenses while filing itemized deduction, and I did work 9.5 months at home as an employee, can I also put my actual home office expenses against my W-2 for CA tax return? Thanks a lot in advance!