If it were necessary to lock down for two years to protect public health then yes, of course.
On an individual family level we could do it, although of course it would be difficult. Working from home with one disabled child and one autistic child is far from straightforward, but we are managing.
Everybody is fed, clean, healthy and doing some of what they need to be doing each day, be that learning or work. It's not optimal, but it's doable.
Children (and adults) are resilient and it is possible to create a life on the other side of difficulties caused by social isolation or worse horrors. Stories of people held in captivity for years will show you that it is possible.
This is a horrible situation, but we will find a way out of the other side of it eventually and hopefully be the better for it.
(I recognise the risk of economic and societal difficulties/collapse should this situation be sustained long term, before anyone picks a hole).