I don't think it would. Because part of racing is gambling on the other driver to back off when fighting for position. And when I say "gambling", there are a lot of very human factors involved in trying to figure out an opponents likely behavior. It's not like chess.
Above all racing requires situational awareness, which computers are very bad at. For ordinary driving scenarios the bar on situational awareness is fairly low, but that bar goes way up in racing.