This is another naive question that popped up as I'm learning Lie theory.
Given a lie algebra $L$ over a field $k$ of characteristic 0, we can define its universal algebra $UL$ as a suitable quotient of the tensor algebra on the vector space $L$.
This universal algebra $UL$ carries a diagonal map $\Delta : UL\rightarrow UL\otimes_k UL$ which is induced from the usual diagonal map $L\rightarrow L\times L$ given by $x\mapsto (x,x)$, together with the isomorphism $UL\otimes_k UL\cong U(L\times L)$ (an isomorphism which is surprisingly nonobvious, as it seems to use in an essential way the Poincare-Birkhoff-Witt theorem).
In our setting over a field $k$ of characteristic 0, $L$ can be identified with the subspace of $UL$ on which $\Delta(x) = x\otimes 1 + 1\otimes x $.
In general, given any associative algebra $A$, and any map $\Delta : A\rightarrow A\otimes_k A$, the subspace of elements on which $\Delta(x) = x\otimes 1 + 1\otimes x$ is closed under the bracket $[x,y] = xy-yx$, and hence is a Lie subalgebra $L_\Delta$, though I don't see any reason for $A$ to be the universal algebra of $L_\Delta$.
My question is - in general, if $A$ is the universal algebra of some Lie algebra $L$, giving rise to a map $\Delta : A\rightarrow A\otimes_k A$ such that $L = L_\Delta$, then can there exist another $\Delta' : A\rightarrow A\otimes_k A$ such that $A$ is also the universal algebra of $L_{\Delta'}$ and such that $\Delta'$ is the usual diagonal map associated with the identification $A = UL_{\Delta'}$.
Secondly, is every associative algebra the universal algebra of some lie algebra?
EDIT: This second question is certainly false, thanks to Gro-Tsen's comment.