Star Trek has the ability to resurrect Captain James T. Kirk (William Shatner), but it wouldn't work the same way it did for Spock (Leonard Nimoy) in Star Trek III: The Search for Spock. The Star Trek franchise is no stranger to resurrecting dead characters, even ones that have been gone for a significant amount of time. Star Trek: The Original Series occasionally killed off a main character only to bring them back to life before the end of the episode. Most famously, Spock sacrificed his life at the end of Star Trek II: The Wrath of Khan, prompting Kirk and his crew to spend the entire next movie helping Spock return to the land of the living.
https://screenrant.com/star-trek-kirk-resurrection-genesis-device-wont-work/