Unfortunately, the answer is no. margarine ranges between 51% and 65% vegetable oil, and the rest is water. By using one or the other the water content of the recipe is thrown off.