Importing of .mhx2 ( or .obj) files possible with python script?
you can use the following script to import mhx2 files into blender.

bpy.ops.import_scene.makehuman_mhx2(filepath="~/Desktop/myfile.mhx2")


make sure before running the script you have activated the makehuman import runtime addon in your blender.