Don’t take my word for it but I believe the answer is no, the Pre-Action Protocol for Possession Claims by Social Landlords does not apply to almshouses because residents occupy their rooms as beneficiaries under a licence rather than as tenants.
As a starting point, to avoid any initial legal costs asking, you may want to use the AI mode of Google, which should give you more background and what protocol you should be following.