Generally, a free admission to officers isn't immediately illegal, but its use in the legal system is a complex matter. The vital factor is whether it was obtained fairly. Police must adhere to specific procedures, https://panchanandshaw.com/blog/confession-law-guide/