Is it safe to have two surgeries 7 days apart?

Sure. That depends on what they are for. If you come in with appendicitis and then show up 3 days later with a gun shot wound the operations are safe and required. The risks may be different but both can be safe. Risks, how3ever can increase for the 2nd procedure.