Yes, it is possible. Glaucoma and cataract are all eye diseases that are associated with aging. Many patients with glaucoma have done cataract surgery. But the risks will increase if one have glaucoma for cataract surgery , so you have to check and consult carefully with the Surgeon about the risks and the benifits.
It is possible for a glaucoma patient to undergo cataract surgery. However, there are risks to have cataract surgery and there are even higher risks if you have glaucoma. So before you go to have cataract surgery, you should talk with your surgeon about these risks and the benefits of the surgery.