When I worked in a tiny house next to my bed, I tried several alternatives but the situation was untenable.
I had to move to a more distant and cheaper region because that was easier to solve than the lack of space.
I hope you can find a space solution because while working at home it is a matter of mental health.