As a freelance who works from home I can dress as I please - and could if I wanted to sit around all day in my pyjamas, as a lot if people did during the pandemic. I always try to make an effort if for no other reason than to remind myself I am at work, and so create an at work vibe. I have found that wearing heels is really helpful in this regard. It’s like the foundation. You feel you need to live up to your footwear - at least in a smart casual sense. I have my faucet dress code as it were - nothing flashy at all, just nice heels, jeans, shirt or jumper.