Yes, in theory that’s possible with a text-animator with expression selector that controls “Character offset”. The sentences would need to have the same amount of characters.
One thing you’ll run into is that spaces get ignored by the character offset animators… they always stay a space. Bummer. Unfortunately it extends to all kinds of spaces, so there’s no fooling the animator by replacing spaces with more exotic variations such as em-spaces or non-breaking-spaces etc.
The only workaround would be to substitute the spaces with underscores, or macron-characters, and then do an extra animator that sets the opacity of those characters to 0, if they haven’t already morphed… You can see that’s spiralling into something complex rather quickly.
It’s maybe easier to do it with an expression on the sourceText instead of an animator though.
For example:
str1= "From bedrooms to";
str2= "to broken hearts";
output="";
for (i=0; i<str1.length; i++) {
c1=str1.codePointAt(i);
c2=str2.codePointAt(i);
anim=linear(time-i/str1.length, 1,2, c1,c2)
output += String.fromCodePoint(Math.floor(anim));
}
output;