Usually the Pell equation is written $x^2 - dy^2 = 1$ but here I am looking for solutions to an equation of the type: $$ x^2 - k xy + y^2 = 1 $$ and In particular, $k$ is a perfect square. So I am picking $k = 25$ an example.
If we complete the square then $25/2$ is not an integer.
$$ xy + x^2 - 26xy + y^2 = x^2 + xy + \big(x - 13y\big)^2 = 170$$
I think I am better of solving the orginal problem. Can any variant on the Pell equation work?
What you do is "depress" the equation (get rid of the $x^{n-1}$ term), the same trick used by Vieta to solve the general cubic. Given, $$x^2-k xy+y^2=1$$ Let $x=u+av,\,$ and $y=bv$ to get, $$u^2 + (2 a - b k) u v + (a^2 + b^2 - a b k) v^2=1$$ Then just choose integers $a,b$ such that $2 a - b k=0$, and if $a^2 + b^2 - a b k<0$, then you'll get a Pell equation in standard form. For yours, with $a=25,b=2,$ what you get is, $$u^2-621v^2=1$$ hence has infinitely many solutions.