Should You Be Allowed to Feed Homeless Home-Cooked Meals?

Should it be legal for people to provide home-cooked food to the homeless?