In $Cat$ seen as a 2-category, we have that horizontal composition of natural transformations is unique because the two "paths" in which the composition con be realised, turn out to be equal.
But, in a general 2-category, can the horizontal composition be not unique? I.e. The two paths turn out to be different. I mean, taking the definition of strict or weak 2-categories, i don't see directly any requirements of this unicity.
In the definition of 2-category (and bicategory) that you are familiar with, the horizontal composition is defined as a functor $\mathcal{C}(B,C) \times \mathcal{C}(A,B) \rightarrow \mathcal{C}(A,C)$ and therefore the result of applying this functor to a pair of $2$-cells (one from each hom-category) is unique just because it is the application of a functor to a $1$-cell in a category. Applying a functor always gives a unique result.
However, you do bring up an interesting point. If you study weak higher category theory further, progressing from bicategories to tricategories (to tetracategories), you'll see why that explicit construction isn't always easy to deal with. As a result, category theorists have come up with many other, less explicit, models of weak higher categories. And in some of those models, you can interpret a given cell as being a composite of two other cells, but not the unique composite of those cells.