You may not:
...use the NHS App Native Version on any device or operating system that has been modified outside the mobile device or operating system vendor supported or warranted configurations. This includes devices that have been "jail-broken" or "rooted".
That's me an my LineageOS phone out then.