Nope, it was just from using the dark side of the force, in the old expanded universe luke uses a massive amount of dark force powers and it mentions how it seem to age him decades in seconds, to the point he is super frail. It's in one of the last books before episode seven came out and they canceled the expanded universe so we never got to see how bad it effected him. Any massive amount of force use can have effects on the body, at least before the newer films. Han and lea's youngest son even died from using too much power. Like in episode eight Luke pretty much killed him self projecting himself to face down the new order.