No, there is not a way to flag bad email addresses if the bad email addresses are causing the 500 server error.
In the Email logging section there is a way to log the success or failure of sending the email to the SMTP server, but if the response from the SMTP server is to trigger a 500 server error, there is not a way to capture that.