Dire Bare
Legend
Wanda, both in the comics and now apparently now in the MCU . . . is an "omega-level threat", cosmically powerful. The Raft isn't going to hold her, Agatha explicitly mentions the Scarlet Witch is more powerful than the Sorcerer Supreme . . . not to mention the ethical questions raised about how the Raft is used, much less the mutant "hospital" from New Mutants.Yeah the Sokovia Accords were created specifically because of Wanda and in Wanda’s case the Scorcerer Supreme exist for the purpose of policing criminals/threats with Magic powers - like Wanda. There are facilities like the Raft and the hospital seen in New Mutants* designed for Powered Individuals (albeit they tend to be easily escaped)
Allowing for her trauma, Wanda should probably be in a ‘mental’ institution designed with strongly warded magical barriers - I’m sure the scorcerers training Dr Strange could help.
*okay not canon but afaik the only magical prison seen in the Mavel-adjacent properties so far
Even in the real world, we of course have prisons and mental institutions . . . . but they are highly troubled and problematic institutions. To have the writers throw Wanda in magical jail, or a magical mental institution . . . would be highly unsatisfying in a different way than WandaVision's conclusion.
I do think it's a flaw in the series writing that Wanda seemingly gets to fly out of Westview without much in the way of consequences, other than continuing to deal with her own grief, trauma, guilt, and now search for her children . . . but I'm hard-pressed to imagine what a more satisfying conclusion would have been. And it doesn't bother me overly much, as it's very much in genre, both for super-hero stories and magical fantasy stories.
Wanda did bad, somewhat unknowingly, fixed the problem (if not the lasting trauma of her victims), and now has a chance to hopefully earn some redemption for her actions. Depending on how her character is treated going forward, I'm okay with the end of WandaVision. The finale wasn't perfect, and was perhaps the weakest episode . . . . but the weakest episode in an otherwise very strong show.