You could try to write a program that generates random autocross layouts for LFS based on specified criteria (LFS track, length, track width, twistiness, surfaces).
Generating rally pacenotes for these layouts and a program that reads them while a user drives (this would require InSim, however) could be next steps.