Yes.
There's evidence that you can get these models to write chain-of-thought explanations that are consistent with the instructions in the given text.
For example, take a look at the ReAct paper: https://arxiv.org/abs/2210.03629
and some of the LangChain tutorials that use it:
https://langchain.readthedocs.io/en/latest/modules/agents/ge...
https://langchain.readthedocs.io/en/latest/modules/agents/im...