When my Baby Girl was itty bitty, she slept beside me in a bassinet. There were a couple of reasons for that, some good, some bad.
We knew we did not want to fully co-sleep, because it can be dangerous, especially if you shift around a lot. I shift around a lot.
They make co-sleeping bassinets but our bedroom in our rental was not big enough for one. It wasn’t really big enough for our bed.
We also wanted something she could sleep in safely that was fairly portable, so we went with an inexpensive easy-fold model. We carried it up and downstairs in our new home so that she could be near us wherever we were, even when she was sleeping.
This ended up being quite good for my career, in my opinion, because it helped me get just a touch more sleep every night – I woke up to her crying and wanting to nurse, I picked her up from her bassinet, nursed her right there in my bed (or, on more than one occasion, on the couch where I had fallen asleep watching TV), and then put her back in the bassinet, where she slept all warm and cozy until she woke up for the next feeding. I didn’t have to get out of bed (except when she needed a diaper) and that way I was able to go back to sleep easier.
I also slept more soundly, because she was right next to me and I wasn’t quite as worried as I would have been otherwise.
She slept that way until she was just a little over six months old and had outgrown the bassinet. She also transitioned to her rather large (comparatively anyway) crib with a very small amount of fuss. By then she was mostly sleeping at least 6 hours in a row -which I could manage with ease.