In theory it sounds like a humanitarian and kind thing to do. But in reality. I think it would be difficult.
If refugees are put up in hotels then it's not ideal, but at least they would have their own space.
If another family (likely to be women and children), live with you, there are lots of practical considerations.
Who pays for the food, the extra utilities, who does the cooking and cleaning?
Would you be prepared for someone else cooking in your kitchen, or would the householder cook for everyone, and who chooses the food?
There is a rosy picture of grateful Ukrainians being pleased to live with someone, and friendship developing, but in reality, the likelihood is that the Ukrainian refugees will be traumatized, and unlikely to be furious at having been forced to leave their homes.
It doesn't make for a happy families situation.
Putting myself in their position, which I hope I never am, I would hate being forced to live in a stranger's house.
It's likely that language would be a problem too. When we see Ukrainians being interviewed on TV, the ones being interviewed are those who speak English, but the majority will not.
I donate regularly to the Red Cross, so that's my contribution. Sorry if this comes across as harsh, but that's what I think.