No, a GHIC or valid EHIC is only accepted in relevant European countries (excluding Norway, Iceland, Liechtenstein and Switzerland), which doesn’t include Egypt. Any medical treatment in Egypt will have to be paid for, which without travel insurance can be very expensive.
It’s important you have proper travel insurance in place when travelling to Egypt so if a medical emergency occurs, you will be covered.