In a first pass, it is difficult to imagine that the mere possibility of someone watching would be enough to enable yichud. I didn't find a straight ruling but here are some poskim opinions which call for further investigation
R Eli Mansour writes "It would be permissible for seclusion among men and women in an office, if a video surveillance camera is in operation and being monitored by security personnel". Note he explicitly writes "and being monitored" and doesn't open it to recording
R Y Dov Krakowski from the OU writes "If there is continuous surveillance via video camera etc., it is permissible to be secluded in an otherwise prohibited fashion. It is questionable if non-constant surveillance will remove the issur of Yichud; in such situations ask a competent Halachic authority"
dinonline.org gets closest to allowing it and writes "Even if there is nobody watching, but the camera is recording, there is room to permit yichud, because of the fear of being caught on camera, though this heiter is more far-reaching, and requires more investigation"
Ultimately it might depend on the probability that someone watches. One might argue that if it is a high probability, this gets closest to the (allowed) situation of someone watching through a video feed (similar to an open window). If the probability is low, it will likely not be allowed.
CYLOR as always before applying any of this in practice.