Yes, this is possible in the XYZ WP Pop premium plugin.
There is a setting “Popup Closing Settings” in the popup creation page.
In this select the close mode “When user click an element within popup content“.
Now you need to add the id of the element to close the popup.
Once it is ready, the popup will close when anyone click on the closing element in the popup.