For a confession to be accepted in a court, I think that the entire interrogation should have to be filmed and viewed by a grand jury.
Separately I think that it is ridiculous that LE is allowed to lie to you but that it is a crime to lie to federal investigators- they get people on that when they can’t get them on anything else, eg Martha Stewart.