I don't believe this would be a valuable feature to add, as the problem it is addressing is really a non issue.
What is the difference between a self-answered question and a normal question? The only difference is that the question asker has provided an answer. And that's it.
Nothing else about the question has changed; it is still open for answers, it is still visible to all, it is subject to people voting on it for its usefulness, and so forth. And any user can turn their question into a self-answered question at any point by providing an answer. (I don't know if a user with an answer ban can answer their own question, so maybe it's really "almost any user.")
Let's trace the path of what a user will do who hits this issue organically.
Case 1: User, intending to provide their own answer, clicked the Answer your own question check box. By some confusion while reading the interface, the user, after writing their question, clicks the Post Your Question And Answer button.
In this case, the user obviously intends to post their answer and for whatever reason didn't notice that they were supposed to do that on the previous screen, and now they are on the screen with their question posted. They then scroll down and see the box to input their answer, so they write their answer, get the "Are you sure you want to answer your own question" popup, and post their answer. Thus, even in this kind of a case, someone wanting to answer their own question doesn't have anything blocking them from doing so, so there is no issue for someone who wants to answer their own question and for whatever reason clicks the Post Your Question And Answer button without writing their answer initially.
Case 2: User clicked the Answer your own question checkbox in error, not desiring to provide their own answer.
In this case, the person finishes writing their question, then scrolls down and hits the Post Your Question And Answer button, and their question is posted. There's nothing wrong here because the person didn't actually want to post an answer.
Case 3: A curious user is toying around with the question buttons to see what happens if you indicate that you're going to answer your own question and then put nothing in the box, and clicks Post Your Question And Answer.
In this case, the user found what they wanted. Trying to block this from happening is, as Hans Passant so beautifully put it, a "don't put the poodle in the microwave" warning. It's just unnecessary.
These are the only 3 cases I can realistically think of someone running into this, and in all cases, it is really a non-issue. If you can come up with some real cases though in which this would be a problem for a user, please do share. Otherwise, I do not believe that this is something devs should spend time implementing.
As pointed out by Zero298 in the comments, there is another very valid case that hasn't been covered above, which is a variation of Case 1 that I hadn't considered.
Case 4: A user who has researched their own question and intends to provide an answer, for whatever confusion of the UI posts their question without the answer. Then, before they have the opportunity to post their own answer, another fast acting user "snipes" their answer, posting basically the same material that the original user desired to post, thus invalidating the research the original user did into their problem.
In this case a user may be discouraged by having done the work and wanting to share their solution on Stack Overflow, only to watch some other user take the credit. I don't know if this ever really happens per fault of a user being capable of clicking the Post Your Question And Answer button after checking the Answer your own question checkbox, and I somewhat doubt that changing this part of the user interface will end up really benefiting someone, but this is a valid situation that could be prevented by preventing the "Question and Answer" from being posted if the answer box is blank.
We would need to evaluate if that use case is reason enough to submit this change. As BoltClock has already mentioned, it "is so trivial" to program, so if the site devs agree that it is so simple that the risk of a user having an issue like Case 4 is greater than the effort to make the change, go for it.