Generally speaking, you can't. Fitness shoes needs to have the function of shock absorption when doing weight-bearing strength training to reduce the impact on the joints of lower limbs, while tennis shoes are aimed at the rapid movement on the tennis court, and the design of shock absorption is not particularly perfect.
So it is recommended to specialize in shoes.