At least for the question of a rational function $\Bbb N\to\Bbb Q$, the answer is no. In fact, we can make a stronger claim:
If $f:\Bbb N\to\Bbb R$ is a rational function, then the range of $f$ is either bounded above or bounded below.
Proof: Separate the highest order term of $f$, writing it as $f(x)=ax^n+g(x)$ where $g\in o(x^n)$ for some $n\in\Bbb Z$. If $a\ge 0$, then we claim $f$ is bounded below (and by symmetry, $f$ is bounded above if $a\le 0$).
By the definition of little-O, there is some $N\in\Bbb N$ such that for all $x>N$, $|g(x)|\le ax^n$. Then $f(x)\ge0$, so $f(x)\ge\min\{f(0),f(1),\dots,f(N)\}$.
Edit: Alternatively, we can use Arnaud's suggestion: the derivative of $f$ is also a real rational function, which only changes sign at the roots of the numerator and denominator. Thus $f$ is monotone above the largest root of the derivative (let's say $f$ is increasing, the other case is covered by symmetry), so $f$ is eventually bounded below, and hence bounded below by the same argument as above.
The analytic function example in the OP can be extended to functions with any polynomial growth rate. Define ${\rm sincz}(z)={\rm sinc}(\frac z\pi)=\frac\pi z\sin(\frac z\pi)$. This function has the property ${\rm sincz}(0)=1$ and ${\rm sincz}(n)=0$ for all other $n\in\Bbb Z$. Additionally, since $|\sin(x)|\le 1$ on $\Bbb R$, $|{\rm sinc}(x)|\le\frac 1x$ and $|{\rm sincz}(x)|\le\frac\pi x$. To achieve even higher convergence rates, we can take ${\rm sincz}^n(x)$, which also has the same behavior on integers but is $O(x^{-n})$.
The convergence rate is necessary to ensure that $\sum_{n\in\Bbb N}a_n{\rm sincz}^m(z-n)$ converges. If $a_n$ is $O(n^k)$, then $a_n{\rm sincz}^m(z-n)$ is $O(n^{k-m})$, so the sum converges for $m>k+1$. Then as a uniformly convergent sum (uniformly because it is using a global bound on ${\rm sincz}$) of analytic functions, it is itself analytic, and takes the value $f(n)=a_n$ at each integer. Needless to say, most constructed bijections $\Bbb N\to\Bbb Q$ have polynomial growth, usually $O(n^{1/2})$, so this shows that there is an analytic function whose restriction to the natural numbers is a bijection to $\Bbb Q$, although it is quite contrived and does not really "simplify" the expression.