Yes and no. The framework that a website is built on can be a huge barrier to successful SEO, but so too can really old websites. Google likes to see very specific things, and if there are any obstructions to accomplishing those things through your website, then the efficacy of SEO will diminish.