I'd do it.
I just got back from India (from Kansas) and had 24-hour layovers in London in both directions. Both times I was able to explore the city, and being out in the daylight walking aorund helped the jet lag a little. If I'd stayed in my hotel room, I probably would have slept at the wrong time.