can I say that thank you on his behalf

No, you can express your gratitude on behalf of someone else, but you cannot physically say "thank you" on their behalf. It is always best for individuals to express their own gratitude in their own words.