It's not good for you long term. I recommend taking one of the bedrooms in your house and converting into a proper home office. And wear slightly more formal clothing than pyjamas. It does wonders to productivity and discipline.
> I recommend taking one of the bedrooms in your house and converting into a proper home office.
I have one. I don't like using it.