You could, but to do it you would have to know the sender’s address. And these days, spammers are changing addresses constantly.
The best course of action to take when you receive junk mail is to check the box beside the junk message in your Inbox (or other folder), then click the Spam button. Every time you do, it helps sharpen the spam-fighting ability of Yahoo! Mail.