yes, you can generate a json file with the values.
This string_extractor_intl package extracts hardcoded strings from your Flutter project and generates ARB files (app_en.arb) for localization.
No need to manually extract strings for localization if you are already deep into your project.
Generate app_en.arb and use replace strings with AppLocalizations.of(context).something in your project manually. Then translate the en file to other languages. The --replace tag has some issues, which is supposed to replace all the strings with AppLocalizations.of(context).something for you.