Yes, the surgery to treat an imperforate hymen is generally safe. It is a minor procedure, typically performed under general anesthesia, and carries minimal risk. After surgery, most girls recover quickly with no long-term complications. However, as with any surgery, there are small risks such as infection or scarring.