Can you have surgery if you already have a blood clot?

just wondering if a person who already has a blood clot in their leg have foot surgery?

It depends how long ago it was. I had foot surgery eighteen months after having a large DVT. I was put on blood thinners for a week following the surgery and was fine. I had come off blood thinners for the DVT a year before. John