Emacs is really, really not doing it—it seems to treat some lines as RTL with embedded LTR segments and others as LTR with embedded RTL segments, and the meaning of a key like right-cursor might mean either “next logical character” or “previous logical character” depending on the sense of the current line.
And it doesn't display the text in the order it will actually appear! (See below.)
Combined with the terminal's inability to even render the glyphs correctly when they have the vowel marks, it makes editing nearly impossible. In the Emacs screencap below, the cursor is the yellow rectangle. Is it predictable which character will be deleted when I press DEL? I'm not sure it is and in any case I keep being surprised.
I did a quick Google search and it produced a supremely unhelpful Reddit thread: “which would handle both scripts without too much hassle?” asked OP, and the top response is “I would say all of them. Did you try any?”