Is this frowned up on/discouraged? The reason I ask is that I might do this so that I can use the question link somewhere else where I cannot type latex.
Self-answering your questions is an intended use of the sites, there is even a checkbox for you to post question and answer simultaneously:
However, you should still make it a good question, don't spend all your energy on the answer. If the question is poor, it will be downvoted, closed, deleted maybe, just like other poor questions.
If you do a good job, you will even get upvotes for both, question and answer.