Question: can x be an exponent in a polynomial?
Answer: Yes, in an extreme way: if any of the “terms” (with integer exponents) in a polynomial is itself an expression with the variable in the exponent, it can be regarded as a polynomial, and polynomial techniques applied to it.