I would guess so. But this case was absurd, and it went through.
“Doesn’t the judge have some discretion as to whether the case was indeed frivolous”
Federal law says you can’t sue for this specific thing. So, no.