A great many European countries have proven it is practical. In fact in some cities it’s more beneficial not to drive (London and Amsterdam to give two examples of wildly different cities yet both favour public transport)
Yes, being suburban Londoners in early 2020 we were checking the car would start periodically and contemplating getting rid of it. But then Covid struck, and us being high risk, public transport suddenly looked really unattractive. We haven't used it since. It is such a shame. We still use the car sparingly and one day hopefully have that conversation about scrapping it again.