You are perfectly entitled to play the game as you see fit, but I can't help wondering if there is something wrong with your strategy.
If you are loosing battles against players who are ranked higher than you , I would suggest that you do not engage them, especially given that you say you are loosing a very high amount of troops doing this.
Also, the idea that a larger infirmary would solve the problem seems without any logic it to it.
If you loose, and loose many troops on a first attack, what makes you think follow up attacks would fair better.
Any improvement in the game in any way is going to benefit the enemy as well. so they can get back to where they were before, at least as quickly as you, if not quicker.
Also troops lost in a battle outside the town, go to resurrection not to the infirmary, yes you can boost the amount that do, but again, so can the opposition, and of course, if you have lost the battle you will have retained only 20%, they will probably have well exceeded this amount, and will need less replacements, assuming they havent got more than you in reserve already.
From your 2nd post today, the following statement,
" Yesterday, I found out that reviving and resurrecting troops allows a player to clear more checkpoints in troop events for extra rewards and players will be abe to pass daily and some weekly tasks. "
Is somewhat indicative that you are rushing into things blindly, trying to maximise your town, thinking this will make you competative against those that have, and making big mistakes as a result.
Apologies if I got it wrong, and you are a much better player than I gave you credit for.