You could. It wouldn’t be the best thing to do, though. Simile and metaphor work in very different ways. There is a time when a simile is useful, and times when a metaphor would be useful. Putting them in the same sentence is overkill. It’s like trying to tell someone they’re pretty, cute, adorable, and beautiful all in one night. They’ll get sick of your compliments pretty quickly, and they’ll think you’re trying to butter them up.
Using simile and metaphor in the same sentence will make people think you’re trying too hard. These are like sprinkles. If you put sprinkles on your ice cream, it’s nice. If you put too many on your ice cream, it’s overly sweet and you don’t want to finish it.
They can but your writing would probably not be highly regarded; 'over-egging the pudding' would be one way of putting it. It is like having too many cream cakes. The last one is far less desirable than the first and you may feel sick.
I have just used a simile but imagine if I'd added after 'having too many cream cakes' this, 'a simile followed by a metaphor, a sentence suffocated with cream cakes. We need to appreciate description in literary writing, a pause after a mental imagining.