Are police allowed to trick or deceive people to get them to talk?

Yes, and they often do. That is why it is critical to talk with an experienced criminal defense attorney first before talking to the police.