The FAQ has contained one key bit of advice from the very beginning:
It’s also perfectly fine to ask and answer your own question, as long as you pretend you’re on Jeopardy! — phrase it in the form of a question.
So …
if you have a question that you already know the answer to
if you’d like to document it in public so others (including yourself) can find it later
it is OK to ask, and answer, your own question on a relevant Stack Exchange site.
To be crystal clear, it is not merely OK to ask and answer your own question, it is explicitly encouraged. …