Yes, it is possible to have cataract surgery if you have glaucoma. In some cases, cataract surgery can lower eye pressure, reduce the number of medications needed to manage your glaucoma, or possibly eliminate the need for glaucoma medication altogether.
Also, it may be possible for your cataract surgeon to perform a minimally invasive type of glaucoma surgery at the same time your cataract procedure is performed to address both conditions at once.