Yes, it's very easy to plant evidence, and it becomes easier the more refined methods you get for doing it.
And you don't even have to plant evidence to get someone innocently convicted. If two "ordinary citizens" without as much as a speed ticket in their criminal record say A and a cop says B, the court will believe B is the truth, at least here in Sweden.