This lacks some context. Gukesh took Ding out of prep bc Gukesh prepped for 7 months, while Ding prepped for 3 weeks and basically wanted to retire from chess. Ding would be out of prep by move 8 as white and be an hour down on time very consistently.
Gukesh repeatedly played opening lines that went out of book shockingly early. No amount of prep can prepare you adequately for someone willing to go off script on move 6.
That is what high level chess has been for years: preparing lines where you have the disadvantage if your opponent plays perfectly, but it uses up their clock and gives you opportunities to punish mistakes in their calculation.
The same technique is used in ameture level chess too, although these are more likely to be piece gambits than merely positional ones.