FWIW this isn't a path to success in chess, at least not for a human. There's something like 31 average moves per position in chess. So calculating just 5 moves deep would be 31^10 or about 820 billion positions. In fact even just 2 moves deep would be 31^4 = about a million positions. I'm a relatively strong player and ballparking my speed by playing through the famous Morphy opera house game in my mind - I'm hitting around 2-3 positions per second, in a game I know intimately.
Progress in chess (and I assume Go) is about training your subconscious so that your mind naturally pushes you in the right direction with minimal effort. Think about something like writing. When you're writing something you aren't really thinking through each word in your vocabulary, comparing them, and picking one - it all just kind of flows without you even trying. The same thing happens with chess mastery.
This is why some people say you're not "really" playing chess before a rather high rating. Less experienced players will struggle to simply not leave material hanging. Then as they improve that will no longer be an issue but then they'll still struggle to avoid simple tactical ideas. But once you move comfortably beyond that phase, the game becomes much more about the things people want it to be about - strategy, plans, big picture stuff that's lots of fun. It's one of the way the game draws you in - it gets more and more addictive, and rewarding, the better you become at it!