That's an even more interesting thought when you apply it to one-man bands. If the only employment is someone self-employing, then presumable the client can discriminate in such ways.
I suppose if you try to do it at scale though there are other mechanisms for calling you out on deliberately circumventing the spirit of the law.