Criminal Law Questions? Ask a Criminal Lawyer.
Yes...it can be thrown out of court. That said, there must be evidence presented that the confession was either made under unlawful duress or that the person was not of sound mind or body when the confession was made. That makes things more difficult as that evidence can be hard to produce. In most cases, expert testimony is presented by the defendant that is typically a psychiatrist which states that the person was not of sound mind when the confession was made and therefore the confession is unreliable and should be excluded from evidence on that basis.
Let me know if you have any other questions.
Best wishes going forward and please rate my answer positively (three or more stars) so I can receive credit for my work.
Just checking in to see if you had any other questions or comments. I want you to be as comfortable as possible moving forward. Thanks!