A couple of problems with that theory, that come to mind.
Talmudic Rabbis don’t agree on the “reality” of Mashiac ben Yosef and others claim it is a Kabbalistic tradition.
Based on biblical prophecy, many Jews think it’s
too late for a Mashiac ben David to fulfill Old Testament prophecy requirements.
Did Jesus Fulfill Old Testament Prophecy?
https://www.josh.org/jesus-fulfill-prophesy/