I've had some fish which developed a humped back as they got to the end of their lives, the last one been a Galaxy Rasbora which I had for around 3 years. In the month before he passed on he developed a curved spine, stopped eating and generally seemed unwell.