Is it possible to use Kotlin/JS in RMMV?

I've grown quite attached to the Kotlin programming language, which features a framework called "Kotlin/JS" that transpiles to JS.
I was wondering if it would be possible to use Kotlin to develop a personal plugin for my game? My main goal is to create a DSL that would allow me to more quickly write events since I dislike using the UI.
Have you tried before asking here? Because I don't see why it shouldn't work, if it transpiles to JS.
I didn't know Kotlin could do that though...

I am using typescript with no issues.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-use-kotlin-js-in-rmmv.136839/