This will sound corny, you can practice mentally in your head against a opponent, in your dreams. Everything comes from the mind, create your self a fighter's mind. I think it's possible to learn standup without sparring, just my theory lol.
No doubt visualisation is extremely important, no doubt as much as actual sparring and fight experience, but it's all a part of the big picture. Visualisation alone isn't enough.