Maybe if the Trainer Commands sidemod was updated to allow for commands upon interacting with any type of (Pixelmon) NPC... You'd still have to implement your quests via scoreboards and individual commands, but since those are based on vanilla Minecraft a version change shouldn't be a problem...