You are correct that it is possible to study theoretical or computational chemistry, however these typically only represent a handful of courses in a normal undergraduate chemistry curriculum. Additionally, most undergraduate chemistry curriculum are designed to instruct students broadly in the core disciplines of chemistry, hence it's usually not possible to specialize.
Non-chemisty degrees may be an alternative. However any science undergraduate program will require laboratory-based coursework. Hands-on experience teaches us how scientific concepts work in the real works, giving us an appreciation of how difficult experimental work can be. It also functions to reinforce content from books and lectures; to teach technical skills (which are usually necessary for future employment); and to develop lab safety habits. So there really is no means to escape it. Moreover, in order to take advanced chemistry electives, prior courses which include lab sessions are generally necessary.
That said, there are other routes to get into chemistry. I've know individuals whom have majored in mathematics, engineering, physics, and biology who either did research in chemistry or who did graduate degrees in chemistry subsequent to obtaining an undergraduate degree in those fields. However in order to obtain undergraduate degrees in those fields and to be able to transition to chemistry programs, lab experience and some senior-level chemistry courses are typically required.
However, once in graduate school, it is possible to avoid experiments altogether: theoretical and computational chemistry graduate degrees typically do not require that the candidate engage in any hands-on experiments. Many however do require that the graduate student work as a teaching assistant in undergraduate chemistry laboratories as a condition of funding. In such cases, laboratory experience is either necessary or a significant advantage.
So while it may be possible to minimize the amount of lab work that you engage in, some will always be required. Additionally I would not recommend avoiding lab work, as it greatly enriches the study of chemistry overall.