The answer is no. (In background)
You can't do that, an app can't directly interact with other apps, the only ways to interact between apps are URL schemes, share extensions, action extensions and other officials Apple methods, additionally, to launch an app, you need to graphically display it.
Share extensions
The share extension DOESN'T open the app, but it have sandbox access to the main app, it can set global variables for example.
Action extension
The same thing of share extension but without UI.
URL schemes
It opens the main app trough an URL, for Spotify for example, is spotify://, the main app has access to the path of the URL's path, query etc., but the app is opened in foreground.
App groups
To use App Groups, YOU need to code both apps, it's allow to use a shared sandbox between apps and extensions, you can share UserDefaults and files.
Here you have Spotify URL schemes.