This collocation is ok. Generally speaking, the gym exercises a single muscle, and fighting is the whole body coordination. If you are alone in the gym, although a single muscle has strength, it may lead to poor coordination. Combined with fighting training, this problem can be alleviated.
But both are high-intensity exercises. Can your body handle it? It is recommended to consult a professional.