# In latex-mode is it possible to disable auto-fill-mode in between \begin{figure}, \end{figure}

I am working on tex files with LaTeX-mode. If possible, I want to use auto-fill-mode  in some conditions. I was wondering is it possible to disable it in between some patterns like:

\begin{figure}[ht]
…
\end{figure}


where I want to apply auto-fill-mode only for pure text? and not apply it under \begin{figure} ... \end{figure} or any matematical formula notations.