There is a reason why one can say a little bit more about this question in the case of $\pi$. Because $\pi$ is (essentially) the natural logarithm of a rational number, questions like this are easily derived from Schanuel's conjecture, which states:

If $\alpha_1, \alpha_2, \ldots, \alpha_n$ are complex numbers that are linearly independent over $\mathbb Q$, then the transcendence degree of the field $\mathbb{Q}(\alpha_1, e^{\alpha_1}, \alpha_2, e^{\alpha_2}, \ldots, \alpha_n, e^{\alpha_n})$ over $\mathbb Q$ is at least $n$.

Your proposed equation is
$$\pi = \frac{\ln b}{\ln a}\qquad (*)$$

and $(*)$ contradicts the $n=3$ case of Schanuel's conjecture as follows. Take $\alpha_1=\ln a$, $\alpha_2 = \ln b$, and $\alpha_3 = i\pi$. Then $(*)$ implies that $\alpha_1$ and $\alpha_2$ are linearly independent over $\mathbb Q$ (because $\pi$ is irrational), and $\alpha_3$ is trivially linearly independent of $\alpha_1$ and $\alpha_2$ because $\alpha_3$ is purely imaginary and $\alpha_1$ and $\alpha_2$ are real. But $e^{\alpha_1}$, $e^{\alpha_2}$, and $e^{\alpha_3}$ are all rational (even integral) so Schanuel's conjecture implies that $\alpha_1$, $\alpha_2$, and $\alpha_3$ are *algebraically* independent. This contradicts $(*)$.

The $n=3$ case of Schanuel's conjecture is still open. There are various partial results known (see for example the final chapter of Baker's book *Transcendental Number Theory*), but I very much doubt that any of these partial results suffice to disprove $(*)$. Note that if we take $n=2$ and $\alpha_1 = \ln \beta_1$ and $\alpha_2 = \ln \beta_2$ for nonzero algebraic numbers $\beta_1$ and $\beta_2$ then we recover the Gelfond–Schneider theorem.

It's a good exercise to derive various statements of this type (e.g., that $e+\pi$ or $\pi^e$ or whatever are transcendental) from Schanuel's conjecture. This way you will be able to figure out on your own whether the statement is likely to be known, or at least be able to approach an expert in transcendental number theory with a more targeted question.