Think about it: If your website is not optimized, how can local SEO alone help in Google ranking?

The short answer is: it cannot help. You can have local SEO without optimization, but you would be missing out on a significant opportunity to have a higher ranking on Google without it. Hence, website optimization needs to happen before you begin local SEO efforts.