You might be able to do something with a grid texture and a flipbook function
Very very very early days…
You would need the node for each letter, so a fixed number of letters. Also it would be a better texture ( obviously ) and could be used as a mask to lerp between background and foreground.