I am 100% sure that yes, it's just not mainstream yet. (Why? Because lean proofs are computer programs)
----------------
The big caveat: This is only if the proof is formulated as a computer program, which is the case here with the Riemann Hypothesis proof. (Lean is a general programming language; and every "proof formalized in Lean" is also a Lean computer program.)
Much of mathematics is not yet formualated in such way (although much progress was made by countless contributions of researchers and amateurs in the last years, both in Lean but also in other proof assistants. Lean seems to become the de facto standard though, but I am watching from the sidelines, so take that with a pinch of salt please)
I explained this connection between computer programs and proofs further in this comment: https://news.ycombinator.com/item?id=50589618#50594374