Yes, that's what 'apt autoremove' does... remove packages that were installed as a dependancy, but are no longer needed because packages using it have been removed.
However, the package could of course still be used by unpackaged software or local scripts.
However, the package could of course still be used by unpackaged software or local scripts.