I think this makes sense since now you have two unknowns and two equations. For your system, all you need to do is just find the relationship between $x$ and $y$ and plug in, then finally you have to solve an equation which is $$\big[[(x^2-2)^2-2]^2-2\big]^2-2=x$$.
However, this doesn't seem so convenient. You can also set $$y:= \sqrt{2+\sqrt{2+\sqrt{2+x}}}$$
This also won't be a convenient idea, since it will finally bring you to solve the equation above.
Thus seemingly your method can't easily solve the problem here.
I guess you already know that you can change the original problem into a recursive sequence. If your method isn't this one. I introduce it. And this method is pretty widely used in dealing with this kind of problem.
$$ x=\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+x}}}}$$
This is $$x=\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+...}}}}$$
We set
$$\begin{aligned} & a_1= \sqrt{2} \\ & a_2={\sqrt{2+\sqrt{2}}} \\ & a_3=\sqrt{2+\sqrt{2+\sqrt{2}}}\\ & \vdots \end{aligned} $$
This is $$\begin{aligned} & a_1= \sqrt{2} \\ & a_2={\sqrt{2+a_1}} \\ & a_3=\sqrt{2+a_2} \\ &\vdots \end{aligned} $$
The sequence $\{a_n\}$ is increasing (clear) and bounded above (bounded by 2 you can verify by induction). Thus it has limit, suppose it's limit is $a$, we have $$ \lim_{n\to \infty}a_n= \lim_{n\to \infty}\sqrt{2+a_{n-1}}\iff a = \sqrt{2+a} \implies a=2,-1$$
It's clear that $a>0$, so $a=2$ which is $x$