Well, not really but I use the last content panel (ID in content panel HTML) and calculate the entire length of the page from that (not exactly your scenario but you can probably tweak it to what you´re after):
var h = $(".page-footer").offset().top;
I then use the following to set the height of a particular div (it stretches the entire length of the page):
$("aside").css("height", h);