A random variable is just a measurable function on a measure space of total measure 1.
if the sigma algebra is the Lebesque measurable sets then any continuous function is measurable. E.g. any polynomial. But pretty much any function you can think of is Lebesque measurable. Non-measurable functions are difficult to come by.