I don't think it's unprofessional; it's at least funny and humor is a healthy thing.
As far as legality (with my limited legal education), I would imagine that as long as all the necessary safety information is successfully relayed without confusion, I think it's legal, or at least not illegal. I doubt any jokes the FA injects into the instructional could be misconstrued and followed by a passenger in an emergency, I would hope.