No, if you are due to be made redundant from your NHS employment, you cannot retire from that post on the grounds of ill health. Your entitlement to an ill health pension is subject to both medical and contractual terms, under the NHS Pension Scheme Regulations. These regulations state:

A member who retires from pensionable employment because of physical or mental infirmity that makes them permanently incapable of efficiently discharging the duties of that employment shall be entitle to a pension under this regulation.

In order for us to award an ill health pension, it must be established that you are permanently incapable of carrying out your job efficiently because of ill health or injury. Additionally, your employment must be terminated because of ill health. If your employment is terminated for any other reason, such as redundancy, then the relevant criteria cannot be met and an ill health pension cannot be awarded.