You can absolutely do whatever works for you, and of course, it's legal (unless you were living in a very unsafe, unheated, dirty studio, but it doesn't sound like it!). The only thing I would caution is that it means that bedtimes will be difficult after about 3-4 months unless you can wall off a bedroom space. When babies are little, they tend to be less bothered by noise and distraction while sleeping, so you may find you can go about your evening with baby sleeping not far away just fine. After the first few months though, it gets a lot trickier. Up to when our daughter was 4 months, we always just wore her in a wrap and took her wherever in the evenings with us, carrying on our night, banging around making dinner, watching tv, etc. After about 4 months, she really needed to sleep somewhere a bit more out of the way where it was quieter, and there's no way we ever could have gotten her to sleep in the same room as we were making dinner, watching tv, talking, washing dishes past 6 months. In terms of overnight sleeping, it's fine. We bedshared and our daughter has slept all or part of the night in our bed since birth (she's 27 months now), so we didn't really need an extra sleeping room overnight. But it would have been really stressful to try to make dinner without waking her up, we definitely never would have ever been able to have sex, and we just couldn't have relaxed and enjoyed our evenings. That time in the evening was the only time I ever got to myself as I was with her all night and it was priceless. But I don't think that means you have to move, you may just need to modify your space so you can partition off a bedroom with temporary walls, which isn't hard to do.