Ace, thanks @florianmrz !
your localizedEntities did end up being undefined, which I fixed by adding a return to the create statement in
['de', 'fr'].map((locale) => {
return strapi.entityService.create('api::foo.bar', { data: { ...data, locale } });
})