There was a mad lad who managed to make a modding tool for X2, they posted here on general discussion. I haven't gotten around poking about and messing around but I feel like it be a bit more painful to mod since the files are vastly different from X1.
https://www.goldhawkinteractive.com/forums/index.php?/topic/35796-mod-loader/#comment-204525
Supposedly the developers are working on a modding tool too, but I been waiting since the kickstarter in 2018 and got doubts about that one feature coming out.