Is there a way I could build a window to simulate a simple web browser (real) and convert it to a graphics asset and incorporate it into my game engine

So I am planing to make a game engine when I have mastered my skills to simulate an environment that my machine learning agents live in and I would like my game engine to be able to have a computer object that can look things up on its own instead of having to get all this stuff myself. I know that openframeworks has OCR, AI, and Web libraries. So if I could just design a window and make it into an image that would really help.