Don't recall the exact rules/distances as it's been a while and Gonzo or someone else will be along in a minute, but the answer is yes.
A lander at LHR can be cleared to land whilst the preceeding landing aircraft (or a departure) is still on the runway subject to certain conditions being met.
Also happens at Gatwick and possibly one or two other places as well I think.