It's almost certainly not legal exactly because of the surrounding context of openai trying to hire her along with the "her" tweet.
There's not a lot of precedent around voice impersonation, but there is for a very, very similar case against Ford
https://en.m.wikipedia.org/wiki/Midler_v._Ford_Motor_Co.