Yes, you can substitute the butter with shortening or margarine if you prefer. Just keep in mind that this may slightly alter the flavor and texture.