I hope you mean this in the manner that usually we _don't_ target Intel chips, and instead target the x86_64 ISA.
Sure, it's possible to target JS, but in the general-case it's wildly inefficient, and requires mental gymnastics compared to something like WASM. This is likely why people are bothering with WASM at all, rather than accepting JS as "the browser's machine code."