Yes, it's somewhat vulgar, but it's also a little funny. This is really one of those examples where the magic of language is revealed. A statement like this has a separate meaning and a feeling to express.
Here's what goes through this native speaker's mind, approximately. "Wow, he is saying he was putting cake into his nose and into his ears. Maybe even his anus, but whether he intended me to have that image in mind really depends on what I know about his personality. Well, that's a ridiculous and disgusting picture. He's trying to be funny and set a funny tone. Okay, so what is really the feeling he is describing? It sounds like he was being very greedy with the cake, eating it very fast, maybe wishing that he had two mouths so he could eat it faster."
So, between two individuals who engage in vulgar jokes together, it will be clear to each participant that a vulgar exaggerated image is intended. Between two people who do not tend to engage in vulgarity, it is clear that the image is really meant to be more like putting cake in the ears. Consequently, this is a very rude and dangerous kind of joke to make to someone you don't know that well precisely because they won't be sure how to interpret it.