It might be less ambitious and more practical to target bytecode.
But you effectively lose the human review component.
Targeting byte code or asm instead of high level would be silly for everyday tasks. You blow up the number of tokens, reduce your effective context, and there's just more places for it to make a mistake, which most likely won't be caught by the assembler (unlike compilers).
There's more python and typescript in the training data than bytecode.