Completely unacceptable. It wasn't so much being woken up, but the fact that the crew member felt it was okay to make a joke out of it.
I would definitely be pushing for an apology, and to ensure whoever's in charge of customer service knows to make sure it never happens again.