Yes you can get drunk if you drink too much Vanilla Extract as it contains between 35 to 40 percent of alcohol and it's what people try to drink when they can't get access to regular alcohol when they're an alcoholic.
Although it's not very smart to try and drink Vanilla Extract to get drunk since the vanilla extract can cause damage to your stomach lining and screw the rest of your body up.