How important is playing chess games while you are working on to improve your chess? I am trying to improve my chess and I spend about one hour in morning doing tactics and around one and half hour in evening studying endgames.

I am following this schedule for about 2 months now and during this time I have not played any chess games. 
Problem is if  I play chess i get less time to look into chess studies.

My thought process is as I am losing many games in lichess and all, I will finish this studies (at least to an extend) and will go back to play chess with my new knowledge in couple of months.

Am I doing this wrong? 

How can I go about this?
Personally, I think that you have a very solid plan. When I was up-and-coming, I would study a lot every day, but I would only play about two tournaments a year. Up to a certain point, I would pick up about 200 rating points per tournament in the beginning, and later about 100. Of course, as I got over 2000, that slowed down some. Back then, we did not have the Internet, so I would also go to the local chess club for about three hours one night per week.

I would point out that former World Champion, Mikhail Botvinnik, was a big proponent of studying a lot, and only then, playing. Unfortunately, you can still have too much of a good thing, and I believe his rust showed itself when he lost to Tal in 1960.

P.S. I also think it is fantastic that you spend so much time studying the endgame. I read Ruben Fine's "Basic Chess Endings" cover to cover as an 1100 player, and to this day, it has still influenced my endgame play. The great thing about endgame work is that not much of it ever changes, and thus, it stays with you for a lifetime.