No, it wouldn't. It would just move optimization somewhere else. As long as races are anything but a cosmetic choice, you'll have the best race for the job.
Even if the only thing you're giving to each race is, let's say, advantage in a skill check once per long rest, the one getting advantage...