I don't know about the Witcher 3: it basically opened with softcore porn and I was immediately too turned off to continue with it. Several people who are huge fans of it later told me the wank bank material is pretty much an essential part of the Witcher experience, so I filed it away as a similar cache of any number of romance books on Amazon. Which, to be clear, makes a ton of money, isn't easy to pull off consistently as a product, etc etc. I just don't know if I would consider it great literature.
[edit] also I think there are a lot of different definitions of “good” in this thread. The average HBO show probably does have better writing than 99% of narrative-presenting video games.
If you can't tell me the story well in the actual engine then I don't really care to count it.
But I also do think this might explain a lot about people's different opinions on videogame writing. The people who run around getting 100% of the lore tidbits and piece it together will often think the writing is much better than the people who are just trying to experience it through gameplay
Games can put a lot of world building into optional areas or pieces of content that e.g. would never fit into a movie or even a TV series.
There are some very interesting characters and lore tho that make it worth it.
The Last of Us and Witcher 3 also have excellent writing.
Kentucky Route Zero is maybe the most literary game I’ve played, if that makes sense. Damn good.
Raymond E Feist became one of my favorite fantasy authors for a long time because of Betrayal at Krondor