As I recall, Nimoy just sort of made this album without consulting Roddenberry or the studio. He dropped the album, complete with the Star Trek theme (and Mission Impossible!), promo pic as well as Nimoy in character as Spock, doing spoken word tracks of (his own) poetry.
Roddenberry and the producers were sort of "What the hell, Leonard?" Roddenberry, always looking for the $$$, sent some memos to Paramount legal trying to get royalties for the music (Gene stole 50% of the royalties from Alexander Courage by adding lyrics to the theme song long AFTER it was written) and usage of the Spock character. Not sure if he ever did.
Shatner, ever competitive, followed suit with The Transformed Man, an even more bonkers album, considering Shatner is effectively tone deaf. It was the stuff of legends for how bad it was. But as with all things, eventually it became cult and then Shatner embraced it his so-bad-it's-good musicality and released more spoken word albums to greater acclaim.
A much simpler time. It would be insane if Robert Downey Jr. Suddenly released an "I am Iron Man!" album with where plays the theme song and recites poetry as Tony Stark. That would be shut down in about 8 seconds.