you're good to go, barring any allergies you may have to pineapple (and especially to bromelain, an enzyme extract derived from pineapple stems). "Pineapple is a great addition to any diet.
Pineapple upside down cake is a retro favourite that's stood the test of time for good reason. Moist, tangy and easy to make, it's a great make-ahead dessert served with ice cream or custard.