Why yes, you can! Many southern cooks use bourbon instead of vanilla extract in their pecan pies.