As a general rule peanut butter is too dense to substitute for butter but you CAN use it for half the butter in peanut butter cookies. That way you do get a lot of extra peanut butter flavor.