EDIT: Whoops I misread, I thought you were saying that "run-only" was just a flag of sorts.
osacompile[0] does actually produce some form of bytecode when you pass the "x" execute only flag.
Here's a script that opens Safari[1] and the compiled output[2].
[0] https://ss64.com/osx/osacompile.html