Yes.  Criminal defense lawyers will often defend a case on the basis that their client was framed or set up.  With this type of defense, a criminal defense lawyer will try to establish someone else committed a crime and that their client is wrongly accused.