Right, but the traceroute would egress via the proxy, not from the users machine, which would be unhelpful.
Yes, there's absolutely good uses for being able to issue regular network packets from a browser, but there's also some quite serious misuses, so we can't have it.