It is a fantasy to consider your suggestion as a solution. Even if it were possible, you're condemning those people to a life of isolation and slowly dying alone.
If we instead set & raised indoor air quality standards and established social norms of staying home when sick or masking when that's not possible, then life could go on mostly as normal. But fuck me for asking people for small inconveniences to help others.
I would say it's reasonable to suggest vulnerable folks avoid indoor public dining, but not to remain alone indefinitely.
Anyways, bring on the downvotes.
Acute and specific things we could do to mitigate H5N1 right now, in particular, are deploying the vaccine we have to all poultry and dairy workers to reduce animal to human crossovers.
Which I pointed out is not possible, because those people depend on many other healthy people to care for them. Either those people also need to join the "at risk" bubble (not feasible since they have jobs, school etc) or you don't really have the at risk population isolated as you suggest.
If you don't understand this then you have no idea how care networks function, with duties spread across facility staff, families, volunteers, visiting caregivers etc.
Suggesting you cut off one or more legs of those support networks isn't practical or humane. It would mean people without adequate support for basic needs like feeding, toileting & bathing, leaving aside mental/physical exercise and socialization.