All forms of discrimination are legal, except those that are protected class.
Tort and civil law is a large speciality, and there are numerous situations where you might technically win but net zero actual damages.
You’d need to talk to a lawyer to get specifics.