Local compilation via Native Client?

Would be possible to implement compiler as Native Client plugin? This way GDevApp servers would be less cpu and ram hungry than they are now (basically they would be only used for compiling things for users of browsers that doesn’t support NaCl).