Sometime later (with the question still unanswered), I find the solution to my problem and post an answer myself.
For self-answered questions, try to make the question as high-quality as possible first. Put serious, conscious effort into making a proper MRE - one that demonstrates the appropriately decontextualized problem, not simply the task that motivated you to ask. Usually this will end up short enough that the code needed for an answer will also be fairly short. The less code there is, the less opportunity for style issues.
Usually, an answered question won't attract many new readers.
I think this is incorrect. Answered questions aren't filtered out of default views, and answering them makes them "active" which puts them at the top of views sorted by activity. Aside from that, the kinds of people who would skip a question simply because it is answered are probably not the ones you want reviewing your answer anyway; they are, overwhelmingly, the crowd that is trying to get in the first answer on easy questions for a quick +25 from the OP (regardless if the question or answer are beneficial to the site).
Answers are constantly available for review by the entire community, and a significant body of higher-rep users can edit them for you as well if there are writing or style issues. Many more people will feel comfortable leaving a comment suggesting an improvement or indicating where the answer falls short - most notably, the OP, who is most motivated to try the solution in the specific context that prompted the question.
If you seek critique on code that you wrote for an answer because it is code that you wrote and are not confident about (and not out of concern for how well it answers the question), that is why Code Review exists. Be sure to read their rules and guidelines before posting there, just as you would here.
If you really care about getting a high quality answer, consider placing a bounty. However, you might first want to consider the importance of your question. (Have others been upvoting it? Are there comments indicating that people find the question interesting? Are there other attempts to answer it?)