I've done a lot of work in this space, and unfortunately the answer is largely no.
These provide a nice frontend for writing simple rules, but I would not want to (essentially) write an entire transpiler in yaml.
For Python->JavaScript, you likely want a transpiler focused specifically on that.
Unfortunately, every such effort eventually hits serious limits in the emergent complexity for languages. There's a reason most of the SOTA techniques ML-based.
These provide a nice frontend for writing simple rules, but I would not want to (essentially) write an entire transpiler in yaml.
For Python->JavaScript, you likely want a transpiler focused specifically on that.
Unfortunately, every such effort eventually hits serious limits in the emergent complexity for languages. There's a reason most of the SOTA techniques ML-based.