No, but a confession not under oath is easy to poke holes into, which is why they rarely convict people. An oblique confession made via an audio recording when the defendant is offscreen will be very easy for the defense to destroy, if not have excluded outright.