Local parts in Team Create?

Hello, I’m working on a plugin and was wondering if it were possible to create local parts via a plugin, so that it doesn’t actually modify the game? If that’s not possible how would I go about removing them just before a save occurs?