Why not? We have context-dependent treatment of MIME types already (e.g. a text/html resource can be treated as a script).These are workarounds because of legacy, I assume. Workers are a new feature.
Workers ignore the MIME type. -- Simon Pieters Opera Software