Absolutely, see all examples of UBI, providing homes to homeless people, universal healthcare, helping addicts, etc etc
One thing I really think needs to be hammered into “libertarians” & other right wing freaks is the cost of helping other people is almost always less than the cost of not helping them. Because we live in a society & we are all connected & you are SO MUCH CLOSER to being sick and poor than you think!