I can't prove if there exists infinite matches.
However, one can find large solutions $\lambda(n) = \pi(n)$ by considering an integer ratio $r \approx \Large \frac{n}{\pi(n)}$. Chances are good to find $rq$ with $q$ is either a prime or a semi-prime, such that $\lambda(rq) = \pi(rq)$.
Let us consider $r = 42$. To find $n$, the Riemann $R(x)$ function is a good way to approximate:
$\Large \frac {n}{\pi(n)}$$\approx 42 \ $ with $\ n \approx 4.84777065654 \cdot 10^{18}$
Searching in that range the exact value for $\pi(n)$ has only to be determined once, then the primes within that range can be counted. $\lambda(n)$ has only to be calculated
if $n$ is a multiple of $42$.
After all, six solutions can be spotted in this range:
$$\lambda(n) = \pi(n) = m$$
n m
==========================================
4847770656544884894 115423110870116304
4847770656544922694 115423110870117204
4847770656544965702 115423110870118230
4847770656544978806 115423110870118542
4847770656544979562 115423110870118560
4847770656544980906 115423110870118590
<<$n$ is a Carmichael number iff if it is of the form $p_{n_1}p_{n_2}...p_{n_k}$, with $p_{n_i}$ different primes such that $p_{n_i}-1\mid n-1$, for $\forall i=1..k$.>>
– rtybase Aug 12 '21 at 14:06