Obviously, you are allowed to answer your own question even when you go to create that question. I imagine this is used for when you feel you have been searching for a while and don't feel like an answer has come up, but you now know the answer.
This just happened to me as I have been looking for a solution to my problem for an hour or more. As I was thinking of how to type it and ask the question in the best SO way possible, I came up with an answer I'm 95% certain will work. (Not implemented yet). I'm now at a split that I don't know which road to take.
I submit my question with my own proposed answer and feel confident I'm helping the SO community.
I walk away because now I feel that it is such a simple solution I should have realized it immediately.
Currently, I don't see any answers / questions that reflect the same question that I have, but that does not mean I am right.