No, if you want to get good rankings, you have to apply all methods of SEO. Even if you get a good ranking without on-page SEO, it will not be permanent.