Yes. Same theory of operation; different means of presentation.
Each instrument may be driven by a power source (engine-driven vacuum pump, electricity, venturi) with its own reliability issues, but the cockpit instrument is used for the same purposes.