Will it work?
Just about any self-defense technique works during a training class and just about anyone may defend against and escape from an opponent during a training class. However, things will be much different during a real self-defense situation.
Police officers train and qualify on combat pistol shooting courses regularly, and yet, during a real gun fights, most of their shots miss the perpetrators. Why?
It is easy to hit a target that does not shoot back! When bullets are coming at you, you tend to think about dying, not just about hitting the target. It is a different situation for you to face down a large, powerful, mean mugger in the dark who is intent on taking you out as quickly as possible so he may steal your property or rape you than it is for you to face a fellow student in a training class.
No matter how realistic the class training may be, it is not the same as when the opponent is intently trying to seriously injure or kill you. Even in a professional full-contact match, the opponent is not trying to seriously harm you or kill you; the rules prohibit techniques that are deadly and a fighter would never fight professionally again if he or she purposely tried to seriously injure or kill an opponent. When someone is intent on killing you, nothing short of killing him or her will prevent the person from getting up and trying again. Any technique you use had better work the first time, you probably will not get a second chance.