Visible crew/equipment: When Pat runs towards the school, he talks with Mrs. Metgers and in the scene where they're walking up the stairs you can see a crew member with a white cap reflected in the glass of the door. (00:17:30)
Visible crew/equipment: When Pat and Tiffany arrive at the hotel for the dance competition, in the first shot inside the building, the camera is shown moving forward towards them. To the left of shot, the reflection of the camera and cameraman can be seen in the glass window. (01:38:48)
Answer: It's not exactly common, but yes, it would be up to the judge, and establishing that a person is a "clear and present danger to themselves or others" can result in involuntary commitment in Pennsylvania, where the film takes place. In this case, it would not be hard to argue that, "the person has inflicted or attempted to inflict serious bodily harm on another and that there is a reasonable probability that such conduct will be repeated" (50 PA. CONS. STAT. ANN. ยง 7301 (b) (1)), as he had just physically assaulted his wife's lover and she'd obtained a restraining order. His mental health problems would have been well-documented, so it would have been easy for a judge to order him to undergo psychiatric evaluation, which could (and, in the film, does) lead to extended involuntary commitment at the discretion of a mental health professional.