Generally, illegal trading resolves around the idea of trading on non-public information. And front running falls under that category (access to order data that other participants do not).
However, HFT's do not trade on non-public information. Every participant has access to the same market data. I could start my own "HFT firm" tomorrow; I would just be incredibly unsuccessful at it because I don't have the finances or computing resources to execute.