I'm not a fan for this comparison. Staley and DA failed for different reasons. DA failed as a head coach in general but also utterly dismantled our front 7 after this first year as head coach. DA's first year as head coach still held a good defense. Staley failed as a head coach because of his play calling and over complicating his scheme on defense as well as locker room issues (in fact, locker room issues is the only thing Staley and DA had in common).
There were a lot of complaints of Staley's play calling and scheme with the Chargers. The niners interviewed Staley and said "Na, you're not going near that playbook" and found a different position for him.