Yes, heparin therapy can be used during surgery to prevent blood clot formation. It may be administered before, during, or after surgery, depending on the patient's risk of clot formation and bleeding. The specific timing and dosing will be determined by the surgical team.