Yes, in a sense. If you play the time trials, you will notice the ghost that races you is Rosalina, or becomes her once you have unlocked her. So she does appear as a ghostly racer in that mode.