The NHS provides health services on the basis of residency, not how much tax/NI someone seeking treatment has or has not paid or citizenship.
If an expat returns to the UK yo seek healthcare from the NHS then they are either coincidentally returning to take up permanent residence, in which case they are entitled to treatment, or they are lying about/concealing their residency and this committing fraud.