The downside to a red flag law (especially for mental health issues) is it could discourage people with mental health issues that own or desire to own firearms to seek help.You also have a right to go to any public space, but someone can get a restraining order on you (via a judge) to keep from the front of their house without you being present. You then have the opportunity to challenge that order. If red flag laws work the same way (and I would be surprised if they do not), I don't have a problem with that. Are there any red flag laws that don't involve using judges? I have not researched them.
Some states already require this, but it isn't a perfect approach. At the same time, when the Supreme Court is essentially whittling away the federal right to privacy, one can't reasonably go and argue out the other side of your mouth that your social media accounts, mental health, etc., is subject to a right of privacy that may not exist federally.
A few of the states red flags can be denied by a sheriff, but there is legal recourse, but it can be timely and expensive, and the process varies if it was denied at the state level (mental health or local domestic violence, etc.) or at the NICS/FBI level.