Can NPCs and or animal companions gain levels in a class?

When you are putting together alternative paths, what’s the process that comes to mind?

Storm King’s Thunder, where is the resolution to moon maiden quest?

How often would you recommend to change the Tabaxi obsessions?