No, vinegar cannot be used in place of baking soda, when baking. However, when mixed, they produce a great leavening effect in both cakes and cookies.