The theme is stored in the site backup file, so there is no need to do this unless your intent is to be able to create a brand new Discourse with that theme. And if that’s the case, it’s probably easier to just restore a particular backup on those new sites.
You can restore from a backup like this:
cd /var/discourse
./launcher enter app
rails c
SiteSetting.allow_restore=true
exit
discourse restore BACKUPFILENAME