No you can't but as per section 54F of the income tax you can save capital gain tax by saling a commercial property by purchasing a residential property but with in a year before or with in two years after the date of sale
Assuming that we have invested to save long term capital gain by purchasing residence property , after minimum lockin period of 3 years. if we sell the same property , on that sell , we again generate the capital , will this cycle continues ...??