I think most of the classes, you'll have the option to book onboard. Like the personal training, spinning, yoga, foot clinic, etc. Information will be in your navigator, and in the fitness/spa area itself.
If you are referring to the Rainforest Room day pass, you can prepurchase that using the form available under the "gifts & amenities" section. Day passes are not always offered for purchase once onboard.
GET UP TO A $1000 SHIPBOARD CREDIT AND AN EXCLUSIVE GIFT!
If you make your Disney Cruise Line reservation with Dreams Unlimited Travel you’ll receive these incredible shipboard credits to spend on your cruise!