A will cannot make something legal after death that would be illegal if done before death.
Giving his money to people he wished to support was illegal before he died?