Then, as time passed, I realized, the distinction between your workplace and your leisure space is an important one. Later, I rented out a moderately expensive serviced office space by one of the local providers and it had served me well. Even the people around you can perceive this distinction and respect your boundaries if you work in an office-like atmosphere that can be perceived.
To be clear, it's not wrong to work from home. IF you have a separate room for your work and you treat it like an office room, it's actually the best way to go (convenience and savings). But if you were in a situation like me where you had to choose between the bedroom and a leased office space, go for the latter and it will definitely add an improvement to your quality of professional life.