You can, but it will need a bit longer to fully set before adding the cheesecake layers. Chill in the fridge for 1 hour before making the filling.