Yes
And fines if the vehicle goes over the markings.
My only concern is that this could contribute to unnecessarily large cars becoming a status symbol, since one could express their wealth by affording the inconvenience of owning one.
Instead, I’d like cities to outright ban cars that exceed certain dimensions. Kind of like a LEZ