That shouldn't cause problems. In fact I saw a kernel package
maintainer ask someone to do that to test if a bug in 2.6.24 was still
in 2.6.25 and said it should install perfectly on lenny.
I'm using 2.6.25 pristine in lenny, no software or hardware issues until the moment.