Yes! JSON-LD for SEO works with both Shopify’s Online Store 2.0 themes and legacy themes.
Please reference this article on installing JSON-LD for SEO.
For stores using Online Store 2.0 features, you’ll need to enable the Structured Data JSON-LD for SEO App Embed in the Theme Settings. Make sure you select Save after enabling the app.
For legacy JSON-LD for SEO users, we ask that you migrate to the new Online Store 2.0 process. Migrating is optional at this time, but the old snippet will no longer receive updates or new features. If you don’t migrate now, you don’t have to do anything when you switch themes. JSON-LD for SEO will automatically detect the change and re-run its snippet installer.
Most themes should work out of the box with JSON-LD for SEO.
If the install process doesn’t work, I’d be happy to take a look at it and see what changes need to be made to the theme.