Yes. Extra precautions should be taken if you are due to undergo cataract surgery to protect the endothelium as far as possible. However carefully cataract surgery is performed, endothelial cell loss will occur to a greater of lesser extent so the possibility of corneal decompensation or swelling should be addressed prior to surgery.