Yes, that's bad behavior.
As per the help center, people are expected to do their research before asking questions. Asking a question where the answer is readily accessible, whether that answer is on SO or not, is not doing your research.
SO as a site is designed to be a repository of quality content. The site goes out of its way to remove content that's not valuable, and to help the content that is valuable shine. "Growing" the site by filling it with low quality content that's not actually adding value isn't helping the site. This is evidenced by all of SO's competitors that go to such lengths to ensure that just about any type of question is allowed, not turning away much of anything, with the end result that the flood of trash makes users not want to go there.