As a core game concept, it isn't common. We came upon it because we want our portfolio to be games that involve a cross-section of skills and play styles (strategic, on-the-fly planning, twitchy controls)[0]
You can think of speedrunning a puzzle game as a racing/puzzle game though :)
Trackmania has both dev and user created tracks which offer a puzzle type experience (in terms of determining how to get through the checkpoints). The most complex of these are ‘RPG’ tracks which are long, sometimes technically difficult, and often themed.