It's not possible. If a set with binary operation has an identity element then it must be unique. No matter if associativity, commutativity or other things hold.
If $1, 1'$ are identity elements then $1\cdot 1' = 1 = 1'$ from the properties of identity elements.
Identity element can't depend on other elements. There is however a different but similar notion of local identity element, which depends on an element chosen. We say that $e$ is a local identity element for $x$ if $e\cdot x = x\cdot e = x$. We may denote $e$ by $e(x)$ to indicate that $e$ depends on $x$.
I saw this one used in some texts about theory of quasigroups, without going into details of what a quasigroup is.
Here, $0$ and $2m$ are all possible local identities for $m$, but only $0$ is the identity element.