In theory it sounds like a humanitarian and kind thing to do. But in practice, I think it would be very difficult, and that refugees would be better in hotels, where they would have their own space.
There are practical issues. Who pays for the food, who does the cooking? Would you be prepared to have someone else cooking in your kitchen, or would everyone eat together, and who chooses what to eat?
There is a rosy view of grateful Ukrainians being happy to live with someone else. In reality, they are probably traumatized, and resentful at being forced to leave their homes. I can't imagine everyone settling down together to watch the news.
It will be mostly women and children, as a lot of the men are fighting. If you have children of your own, what happens if they don't get on?
The language difficulties too. When we see people being interviewed on TV, the language used is English, but realistically, most Ukrainians won't speak English.
All in all, hotels seem the better option, although still not ideal.