You can practice tennis alone by practicing your swing, hitting against a wall, working on your serve, and practicing footwork. To improve your skills even more, you should also do cardio exercises, HIIT workouts, and strength training.
https://tennisuniverse.org/how-to-practice-tennis-alone