Off topic.
No it’s not. Police entrap people all the time using illegal means in the name of enforcement.