You can, but you will need a fleet of experienced java reverse engineers and this constantly with every mod update that changes things. @Xfel11 can probably point out the main issues with this as the best.
to chime in there: To remake MC for c++/c#/c with the same functionality and same moddability is a massive undertaking that will require serious dedication and ressources, and it would flat out kill most of the modding scene. That does not sound like something microsoft wants to do.