Define the category $\mathcal{C}$ as follows. The objects are defined as $\text{Obj}(\mathcal{C})=\mathbb{Z}^+$, and a lone morphism $a\to b$ exists if and only if $a\mid b$. Otherwise $\text{Hom}(a,b)=\varnothing$. It can be shown that $\gcd(a,b)$ is a product in $\mathcal{C}$ and $\text{lcm}(a,b)$ is a coproduct in $\mathcal{C}$. My question is:
Can we recover the identity $$ab=\gcd(a,b)\text{lcm}(a,b)$$ from the properties of this category?
My initial thought was to denote a morphism $a\to ak$ by simply $k$ (or a triple $(a,k,ak)$ if we are concerned about disjointness), and then of course composition would just be multiplication: $k:a\to b,\ k':b\to c$, then $kk':a\to c$. Then, by the universal properties of products and coproducts, the diagram: $$ \require{AMScd} \begin{CD} \gcd(a,b)=d @>{a/d}>> a\\ @V{b/d}VV @VV{\ell/a}V \\ b @>>{\ell/b}> \ell=\text{lcm}(a,b) \end{CD} $$ commutes. But of course composition only yields $$\frac{a}{d}\frac{\ell}{a}=\frac{b}{d}\frac{\ell}{b}.$$ I'm also curious about other identities this category might "know about".
Edit: I'm thinking we could just show that $$\frac{ab}{\ell}$$ satisfies the universal property for products (or dually, that $ab/d$ is a coproduct) which would imply that $ab/\ell$ is isomorphic to $d$. By definition this implies that $d$ and $ab/\ell$ divide each other, and hence must be equal (hopefully that's correct). Of course, I am open to any other methods involving categorical machinery that I'm not familiar with (limits, pullbacks, etc.) and any other identities that $\mathcal{C}$ may be aware of.