I certainly can understand the dangers of doing it, but if handled properly and within appropriate context, it can be quite compelling and still visual. Many of the best produced screenplays utilize this method.
In the screenplay "The Revenant", there's a part that reads,
"Bridger sits at the base of a tree... his mind replaying the desertion of Glass over and over. He notices the smoke."
When you watch the film, we never actually see inside Bridger's mind, but you can VISUALLY see from Bridger's expression, that there was no doubt that he was "...replaying the desertion of Glass over and over" in his mind. Why? Because in the previous scene just before this moment in the script was when Bridger deserted Glass. The writer and filmmakers provided appropriate context in the film/script for the reader/audience to be able to come to that conclusion.