As Baldur's Gate 3 illustrates, Dungeons & Dragons has a long history of informing video game RPGs. At this point, dice rolls, initiative, and questing are all intrinsically tied into the genre's structure. Tabletop RPGs have also lent video games ideas like freedom of player expression through role-playing and problem-solving, found in Immersive Sims like Prey (2017) or Deus Ex: Mankind Divided. It's rare that a property or video game is capable of feeding back into D&D. However, Dungeon Masters could learn a few things from the video game series, The Witcher.
Source:https://www.cbr.com/witcher-games-improve-dungeons-dragons-dnd/