These threads often generate more heat than light.
Very few dogs live in ideal circumstances. Mine don't, but they have good lives and are happy and fairly well-adjusted (one is a therapy dog, passed the test first time).
OP has a balcony. It's possible to make a place out there for a small dog to pee/ poo and regular disinfection will remove the smell (Zoflora, Virkon, other options).
The thing that concerns me most is the hours OP is out at work and how she plans to cover the puppy period. I work similar hours to OP, so to give you some idea, when Dog2 was a puppy, someone was home with her most of the time. When I went back to work (similar hours to OP) she was already 7 months old. A neighbour came and walked her mid-morning and I came home for lunch and ran her then as well. While I was out, she had access to a paved yard (not dissimilar to a balcony, really).
She had those extra walks until she was 12 months (mid-morning) and about 2 (lunchtime). She's a high-energy working-line dog and needs a lot of stimulation, but she copes brilliantly with the hours she's left. She had an older dog around but he ignored 99% of the time.
So it can work, but you have to be really committed. As others have said, think about what the dog needs and work out if you can provide it.