can x be an exponent in a polynomial?
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.