I was reading about the Lambert W function, and I want to know if it is possible to extend the ideas to solve the given equation for real values of x. $$y=\sin(x)e^{\cos(x)} $$
I know that the W function is only for equations of this form: $$W(x)e^{W(x)}=x$$
I would like any help or ideas regarding this problem, or about the impossibility of solving it.
Thanks in advance.
[Note: Wolfram|Alpha is unable to solve the equation]

Specifications:
I would like an explicit inverse function to $$x\rightarrow{\sin(x)e^{\cos(x)}}$$ not a numerical solution. The special function $W$ can be used in the explicit form. The original function has the restricted domain of $[-\arccos(a),\arccos(a)]$ for $a=\frac{\sqrt{5}-1}{2}$ and the inverse should have the domain $[-\sqrt{a}e^a,\sqrt{a}e^a]$ for the same $a$
[This question was migrated from MathOverflow]
$$y=\sin(x)e^{\cos(x)}$$ $$\sin(x)e^{\cos(x)}=y$$
As the comments propose:
$x\to\arccos(z)$: $$\sin(\arccos(z))e^z=y$$ $$(1-z^2)(e^z)^2=y^2$$ $$(1-z^2)(e^z)^2-y^2=0\tag{1}$$
We see, for general $y$, this equation is a polynomial equation of more than one algebraically independent monomials ($z,e^z$) and with no univariate factor. We therefore don't know how to rearrange the equation for $z$ by applying only finite numbers of elementary functions (elementary operations) we can read from the equation.
We see, for algebraic general $y$, equation (1) is an algebraic equation of both $z$ and $e^z$ with no univariate factor. The equation cannot have solutions except $0$ that are elementary numbers therefore.
$$(1-z^2)e^{2z}=y^2$$ $z\to\frac{t}{2}$: $$-\frac{1}{4}(-4+t^2)e^t=y^2$$ $$(t^2-4)e^t=-4y^2$$
As the other answer proposes:
We see, we cannot solve this equation in terms of Lambert W, but in terms of Generalized Lambert W. See page 3 in [Mező/Baricz 2017].
$$(t+2)(t-2)e^t=-4y^2$$ $$t=W\left(^{-2,+2}_{};-4y^2\right)$$ $$z=\frac{1}{2}W\left(^{-2,+2}_{};-4y^2\right)$$ $$x=\arccos\left(\frac{1}{2}W\left(^{-2,+2}_{};-4y^2\right)\right)$$
So we have a closed form for $x$, and the series representations of Generalized Lambert W give some hints for calculating $x$.
A closed-form expression is a placeholder for its analytic representations, and furthermore, we can use its algebraic properties and special values.
[Mező 2017] Mező, I.: On the structure of the solution set of a generalized Euler-Lambert equation. J. Math. Anal. Appl. 455 (2017) (1) 538-553
[Mező/Baricz 2017] Mező, I.; Baricz, Á.: On the generalization of the Lambert W function. Transact. Amer. Math. Soc. 369 (2017) (11) 7917–7934 (On the generalization of the Lambert W function with applications in theoretical physics. 2015)
[Castle 2018] Castle, P.: Taylor series for generalized Lambert W functions. 2018