Hello there. I am an experienced 3ds max user, rigging characters for unity and unreal. I also write maxscripts, so we could discuss the possibility of writing a maxscript for you automating the process. To do so we have to discuss the exact process that you want to be executed and you should provide me a test scene (with an avatar that you want to export in .fbx) in order to test and check the results. Best regards.