There was an interesting variation of this theme in old french tv series "Operation Mozart": https://www.imdb.com/title/tt0253415/. They used upper part of letters as dot and dashes of Morse code. say MTTAI equals to ..--..
If anyone has any idea of where to find that series online, please share.
I've been dying to watch it again since I was 10 years old or so but it's such a niche series that I don't think it has had any later distribution in the digital era.
Slightly off topic, I wonder how they handled different writing styles.
E.g. in letter "W", in most fonts the the middle part touches the top (So: "..."). But in monospace fonts, like the one used in HN's comment reply text area, the middle part is lower (So: ".."?). And in wikipedia's logo the "W" is stylised as overlapping VVs (So: "...."??).
https://elonka.com/friedman/index.html