Plugin that is both Instrument and Effect

Hi guys, is it possible to create a plugin project that will get picked up by hosts as being both an Instrument aswell as an Audio Effect as well as being a MIDI effect? I’m creating a plugin that can work in all kinds of contexts, but I’m trying to figure out how to build the plugin without having too many wrapper projects going on. Ofcourse I could make many JUCE projects and build them all separately using shared libraries, but I’m just wondering whether there’s an easier way to set this up, and whether there is a more minimal way to install your VST as being all of them.