I can't say yea or nay but aside from anything else, there will be the need to calibrate the old camera/new board combination using Python and the associated scripts.
Then, depending which way you want to do the swap, you have the problem of fitting a square pin into a a round hole i.e mUSB vs probably USB-C connections. i.e you may have to file the shell to accept the new USB connector
There might also be voltage problems but that is pure speculation, the power/ESC board may take care of that by design.