That's what Norway has done - imposed disincentives on owning an ICE vehicle (higher parking, tolls, ferry, purchase taxes) while simultaneously creating incentives for owning an EV (infrastructure grants, subsidized parking, tolls, grants). And lo and behold they achieved their aims of shifting from ICE to EV with some joined up thinking.
Of course this isn't the end of it because there are still plenty of petrol / diesel cars on the road, and large vehicles like trucks but attrition will mean in 10 years nearly all small passenger vehicles are going to be electric and infrastructure will have move to that future. And electric may be better than ICE but public transport / cycling & better infrastructural planning is better again so it's not the end by any means.