We tried it. Had wizard fill the rogues place in party of 4. Had a cleric, ranger, 2 wizards. One wizard filled rogues role in party. They had disable device and good Dex so the wizard could pick locks and disarm trap of non magical nature. At higher levels they had more spells to pull off the tricks.
By not having an actual rogue in the party the Ranger and Cleric took the front lines. The sneak attack damage was missed a bit and the party was weaker at the low levels. At high level the wizard did just as good as rogue and more versatile in some ways while limited in others.
Where the wizard as rogue fails is when they are also filling the role of arcane caster. It's kind of funny really when wizard is taking the rogues role, they are much weaker than the wizard filling the arcane role. Still fun to play from I saw.