The solution is not unique.
coordinates = {x -> Cos[ϕ] Sin[θ], y -> Sin[ϕ] Sin[θ], z -> Cos[θ]};
$Assumptions = 0 < θ < π && 0 < ϕ < π/2;
The expressions
x^5/(x^2 + y^2) /. coordinates // FullSimplify
x^5/(1 - z^2) /. coordinates // FullSimplify
(1 - z^2)^(3/2) ((-1 + y^2 + z^2)/(-1 + z^2))^(5/2) /. coordinates // FullSimplify
(y^3 z^5)/((x^2 + y^2)^(3/2) (x^2 + y^2 + z^2)^(5/2)) /. coordinates // FullSimplify
x^5/((x^2 + y^2) (x^2 + y^2 + z^2)^(3/2)) /. coordinates // FullSimplify
all return
Cos[ϕ]^5 Sin[θ]^3
So does any (properly weighted) linear combination thereof.
Needless to say, only the last option is homogeneous in x, y, z
, so it is in a sense special.
For more general problems (where there is no predefined natural set of coordinates), you can proceed as follows. We assume that the new set of coordinates is three-dimensional, for otherwise the solution is non-unique. If you want to restrict yourself to some two-dimensional submanifold you can always set one of the coordinates to any value of your choice.
Take for example the coordinates $a,b,c$ defined by
$$
x=a\log b,\quad y=c\log b,\quad z=a c \log b
$$
and say you want to obtain the value of the expression
$$
a\ e^b+\frac{c}{ab}
$$
Then you can use the code
coordinates = {x == a Log[b], y == c Log[b], z == a c Log[b]};
inverse = Solve[coordinates, {a, b, c}][[1]] // Normal;
a E^b + c/(a b) /. inverse
whose output is
(E^(-((x y)/z)) y)/x + (E^E^((x y)/z) z)/y
As a check,
% /. ToRules@*And @@ coordinates // Simplify
(* c/(a b) + a E^b *)