Sure, but when the standard says "read this file and execute the instructions you find at the beginning" that is more dangerous than "this is a file with data and your program needs to figure out how to read it".
The WASM encoders/decoders are embedded resources that exist as byte offsets in the file metadata, not header info.