I feel like growing a brain would have traditionally been reserved for the stuff we see in Legends but with Episode IX introducing the idea of Palpatine transferring to a clone when his body was seemingly destroyed at the end of Return of the Jedi, I see nothing as too far fetched anymore.