Suppose a polynomial, $f_L$, of degree $L \geq 2$ satisfies this property. By fundamental theorem of algebra, $f_L = (x - \lambda)f_{L-1}$ for some $\lambda \in \mathbb{R}$ and some polynomial $f_{L-1}$ of degree L-1. Trivially, $L \in \mathbb{Q}$ and $f_{L-1}(x)$ must be a rational number if and only if x is a rational number. I claim that there are no polynomials of degree 2 with this property, implying that there are no polynomials of degree $\geq 2$ with this property.
Suppose f(x) = $ax^2 + bx + c$. Suppose f(x) has the above property. This means that a, b and c are all rational.
$f(x) = a(x + \frac{b}{2a})^2 + c - \frac{b^2}{4a}$ Let $i$ be the smallest integer $\geq 0$ such that $a^{\frac{1}{2^i}}$ is irrational. Let $x =a^{\frac{1}{2^i}}- \frac{b}{2a}$. Clearly, x is irrational and f(x) is rational.
The case of polynomials with degree 1 is trivial and left as an exercise