Preloader Question

Is it possible to have a preloader that plays an animation once and then loads the content?

Example…

A preloader that has a bottle filling up with water and then it displays the content…