If you got data from 10+ different drivers, and split a lap into 10+ sectors, it's likely that each drivers driving style would be best suited to certain parts of the track. Could a computer ever 'hook up' all those perfect sectors by 'replaying' the inputs from the drivers? It'd be quite an interesting project.
I mean, I know it's 1000 times less complicated, but the marine GPS system on our boat is quite incredible how it accurately it can sail a track. If you sail a route around some buoys once, save the track, then get the autohelm to follow the track it will do it perfectly and you just have to adjust the sails. However - no idea if GPS would be accurate enough to perfectly kiss a kerb. F1 drivers hit them with mm accuracy, GPS at best is a few cm right?