Is it legal to include a version of unity editor in a product?

Hello, I am working in a project that needs to import 3d models from the user at runtime, save them and even send them to a remote build that would need to work with them. Since building addressables or asset bundles from a player is not possible, and importing fbx at the start of every run is very resource and time intensive, we are thinking about including an editor with our product, and call it in batch mode to create the addressables.
Is this allowed by Unity3D (company-wise)?

You need a special license for that, with a caveat:

The relevant part of the Editor Software Terms, where “Authorized Users” is the people you have Unity licenses for:

You may not make available all or any part of the Unity Editor or its functionality, nor process data using the Unity Editor, in each case to or for End Users, other than to your Authorized Users, through any cloud, hosting, application services provider, service bureau, software-as-a-service (SaaS) or any other technology or service or otherwise), without a separate grant of rights from Unity.

This means that unless you’re buying a Unity license for every single one of the users, you can’t do this unless you get a special license from Unity. To get that special license, you’d have to get in touch with Unity’s sales.

It’s not a direct answer, but you don’t need unuty editor to do what you want. You can create a Mesh from data at runtime. Whether this data comes from another Unity mesh or is arbitrarily generated, read from a file or network, it doesn’t matter. I am sure there are even some plugins that let you import FBX files at runtime.