Not necessarily, infocom style games are just a subgenre of modern interactive fiction nowadays. Infocom style games are enormous and full of obscure puzzles, mazes, etc. that require hours and hours of gameplay. IF has branched out a lot and most stories are written to be completed in less than an hour and typically have less infuriating puzzles or mazes, along with complete help and hint systems.
There are tons of award winning IF stories that involve no real combat, puzzles, etc. and are just exploration of interesting environments or talking to characters. Check out some of the winners from the annual IF competition for a great sampling of modern IF: https://ifcomp.org/comp/2021
Emily Short in particular is someone who really pushes the boundaries of IF, her story Galatea from the early 2000s is a great example of how far beyond Infocom style games IF has gone: https://www.ifwiki.org/Emily_Short and https://ifdb.org/viewgame?id=urxrv27t7qtu52lb