Yes you can definitely add pineapple; it lends a lot of moisture and sweetness to the cake. However, it will also change the texture and can lend to a denser crumb.