You would direct the revenue from the tax into grants for those least able to upgrade to electric on their own. London is doing such a scrappage scheme right now for the latest increase in emissions standards.
Causing car prices to increase post-recession was kind of the point of cash for clunkers, but I don’t see why something more targeted has to have the same effect.