Factual error: As Pat's dad was driving him to the Eagles game, they pass a construction site near the stadium. The movie was based in 2008. There was no construction going on near the stadiums in 2008. The construction site in that background of the scene is from the Spectrum being torn down and the building of Xfinity! Live, which opened in April of 2012. (01:22:10)
Factual error: During the scene where Pat is walking around at the Eagles game, you can see the Phillies stadium in the background. The scoreboard is the new HD scoreboard that they put in before the 2011 season. When Tiffany comes to the house and is stating that every time Pat was with her, the Eagles or Phillies won. She said that the one night they were together, the Phillies beat the Tampa Bay Rays in game 4 of the world series. They played the Rays in 2008, before the new score board was put in. (01:22:30 - 01:27:50)
Factual error: In the scene where Tiffany is talking about the times her and Pat have been together she says the third time they got together and went to Llanerch Diner the Phillies beat the Rays 10-2. This happens on Halloween, despite the Phillies having their world series parade on Halloween (October 31). The actual game 4 of the World Series took place on 10/26/08. (01:27:50)
Factual error: At the beginning of the film, Pat's Mother picks him up in Baltimore to return to Philly. In the scene from the car as they pass the Linc, the stadium is on the right, indicating that they are in fact traveling South on 95 towards Baltimore. Additionally, the previous scene of the city from the car could not have been shot from 95.
Factual error: The characters often wear jerseys from Philadelphia Eagles players. However, several of the jerseys are for players who were not yet on the team when the movie is set (2008).
Factual error: Tiffany and Pat first meet at/around Halloween, then later in the movie she convinces Pat to participate in a dance contest with her, and they begin practices. Towards the end of the movie, Tiffany claims that Pat was with her working on their dance routine during the baseball playoff games of the Phillies, erroneously placing the baseball playoffs sometime in November or December.
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.