See Request a new language/locale to be added in the wiki.
However, if the language-script is not a Right-To-Left (RTL) or other Complex-Text-Layout (CTL) writing system then you can always enter a BCP 47 language tag in the Western language list’s combo edit box to properly attribute the text portion. In the case of Pali that seem to be several different possible scripts, see Pali - Wikipedia, so it could be pi-Brah
for Brahmi or pi-Sinh
for Sinhala script, for example (if these are not CTL, I didn’t investigate, at least they ar enot RTL), which then would show up as {pi-Brah}
or {pi-Sinh}
on top of the language list. Your example of Thai script would not work because Thai is CTL, Sanskrit the same. Unfortunately this free-form language tag is not possible yet for RTL or CTL writing systems.
Note anyway, that the mere presence and selection of a language tag does not preselect fonts matching the alphabet or script.