Function composition: measurable with non-measurable

True or false?

If X is a random variable and f(X) is measurable (f not necessarily measurable), then there's a measurable function g such that f(X) = g(X)