I’ve often done that in Paris, absolutely enjoyable. Through the city proper you only walk a little over two hours north-south or east-west. With a few detours to points if interest and breaks for coffee it’s one of my favorite ways to spend a half day.