If you want to check your text written in LaTeX in Grammarly, then it's better to remove any LaTeX specific tags. Here's tool to make it automatically.
Note: The code is not perfect, but it does most of the job well. Currently, there's no way of going back from Grammarly to LaTeX.