No, you are not allowed to smoke in Berghain. Technically smoking is only allowed in clubs or bars smaller than 75m2 (800ft2) that don't serve food. Since Berghain is absolutely massive, they don't fall under this exemption. You'll need to head to the designated smoking area outside.