One of the group axioms is the existence of an inverse, which is usually stated as: For each $a\in G$ there exists an element $b$ in $G$ such that $ab=ba=e$ where $e$ is the identity element of the group.
When we only deal with matrix multiplication, we know that it suffices to show $ab=e$ in order to deduce that both matrices are invertible and that $b$ is the inverse of $a$.
My question is:
Is it possible to write the group axiom of inverses with only one equality? I.e., to say that for each $a\in G$ there exists an element $b$ in $G$ such that $ab=e$ where $e$ is the identity element of the group. Will this equality always imply that also $ba=e$ as in matrices? Alternatively, is it possible to construct a set $G$ with an operation $\star$ that will satisfy associativity, existence of identity and this new definition of existence of inverses but will fulfill the original statement $ab=ba=e$ (only $ab=e$)?
Thank you