I find that usage quite unnatural. I would expect people to "thank" other people for things like defending their country, or perhaps to "celebrate" them. We tend to congratulate people on personal achievements (passing their exams, passing their driving test, giving up alcohol) or on their birthday, wedding or anniversary. This is how I would write your paragraph:
Yesterday, I woke up at 7am, had a bath then prepared breakfast for my family. I ate porridge, drank two cups of tea then went to the gym. After I got home, my grandmother arrived to thank my father for his contribution to the defence of the Motherland. After that, a friend and I went for a walk and afterwards had/ate a meal at a café. When I got home I read a book. At the end of the day, I had a bath and went to bed.