I'm not sure if it's okay or ethical, but I don't think it's a great way to practice therapy. When and how a person reveals things contain so much about who that person is. Stories about how they see themselves or who they are or where they currently are in life that you can't learn by googling. So by leaping ahead in the story and googling, the therapist is robbing herself of the chance to learn these truths about her client.