There are other big risks involved.
For instance, if the satellite is dead or has lost propulsion, it will likely have started to spin and will have no way to stop that. Reaction wheels can only do so much and can get saturated, requiring other attitude control systems to be used to desaturate them first. Approaching it with an unspecialized satellite will then definitely generate smaller debris, which is far more problematic.
This also amplifies the risk you mention about ending up immobilized for other reasons. You'd have two pieces of junk literally on top of each other, it would take very little for them to damage each other and start producing much smaller debris.
Further, you can't just repurpose a star tracking camera to look at a satellite instead, they're dealing with completely different kinds of requirements, and it isn't even a given that you would have the processing capability on the tracker to handle the kind of computer vision needed. Nor is it likely that the tracking camera feed can be transmitted down to Earth for manual control.
The only cases we have of a satellite contacting another satellite when it wasn't initially designed with that in mind, involved dedicated extension vehicles designed and launched to dock to the engine nozzle of satellites which were still fully functional and without the extension would've still been able to move themselves into a graveyard orbit.