No. Using another game is not allowed. The physics of the games are different, and some tracks would become easier or harder depending on what game you run.
It is also possible to run the game on windows 7 without any virtual machine: https://www.speedrun.com/tmn/guides/umspe
Ok, I see. Wouldn't it then be better to run windows xp on the vm? Maybe that would run better.
Edit: You can now install the game for Windows 10 & 11: https://www.speedrun.com/tmn/thread/vgo41
If anyone would want to speedrun this game with United Forever, you can now do that with the TrackMania Nations Remake custom campaign. Your runs would would go to the TMN Remake leaderboard: https://www.speedrun.com/tmnr
Custom campaign installation guide: https://www.speedrun.com/tmnr/thread/tbitw