Have you tried doing it however doom gets installed normally?
I tried emacs via termux and it gobbled up the opulent spacemacs without issues.
I just couldn't find a way to associate it with certain file types or even just to create i shortcut opening a specific file.