No, it's far easier to determine socioeconomics. After all, if you're going to favor a specific race, how do you prove their race? What percentage of their bloodlines needs to be from that race? We really start getting into yellow badge territory eventually, and at best all it does is create racial animosity and resentment, which we see now: https://news.gallup.com/poll/318851/perceptions-white-black-...
Meanwhile, everybody pays taxes so we have the data we need to not use racial discrimination.