I bet the NSA can do that very easily
If you can get a virus, a trojan you can get compromised by a hacker this way too
You could plant a trojan onto your own PC and then use that as evidence in court to defeat charges against you... reasonable doubt.
A guy once did something similar... he had an odd name, Polish I think. He planted a bunch of incriminating correspondence on his PC...but he miss-spelled his name on each piece. The feds did not notice and when the defense pointed this fact out it destroyed the case instantly since it made the feds look like they planted it all.