And Carrie Fisher in Rise of Skywalker. And though he was still alive at the time, James Earl Jones's voice was created by AI in Obi-Wan.
I forgot about Carrie, mainly because her daughter was fine with it. That being said, we do know there was a split in the Fisher family in the aftermath of her death and her daughter isn't even speaking to her uncle (Carrie's brother) etc. last I heard. Which leads me to my next point,
On the other hand there is clearly a slippery slope involved.
Despite my championing of CGI usage when actors' family give approval in my posts above, I do have to admit that even in that instance it's not so cut and dry. Family members squabble and may not agree about what the deceased actor would have wanted. In the current project in question, OTOY's Unification film reuniting Nimoy's Spock and Shatner's Kirk, it seems at first glance that all is good--Shatner has no problem with the his young CGI likeness being used, and Nimoy's family was perfectly fine resurrecting him via CGI for the short film.
HOWEVER, we also know that Nimoy died amidst a renewed feud with Shatner that Shatner has famously commented on that he did not know the reasons for the feud renewal. Furthermore, Nimoy's children have also supposedly told Shatner that even they did not know the reasons for Nimoy's renewal of the feud.
Shatner touches on this in his commentary for the short film, where he mentions that he personally has concluded that the COPD that was affecting Nimoy's health and killed him possibly affected his mental health and, basically, Nimoy wasn't himself when he decided to cut off Shatner. And this may very well be the truth.
But what if it wasn't? What if Nimoy did indeed out of sound mind make a decision to cut off Shatner and, presumably, wouldn't approve of any future collaboration with him, even via CGI? In this case, while Nimoy's children and Shatner meant well and produced this movie as a commemoration of their past friendship and as a gift to the fans, they were unwittingly disobeying what may have been Nimoy's wish to dissasociate from Shatner in the future.
And the thing is, short of magically resurrecting Nimoy and restoring him to full physical and mental health so he can comment on this, we'll probably never know the answer. At this point, either possibility seems equally likely.