No problemo
The tech for managing border crossings has been readily available for decades.
The Quadro Tracker Positive Molecular Locator was produced way back in the 1990s, and its descendant - the British made ADE_651 - has been used in countries around the globe to detect explosives, drugs, ivory, cash, and a host of other substances.