Yes you can sell and you just need to pay capital gain tax on same but you will save that by investing in new house.
There is a difference between section 54 and 54F in selling of the new asset.
In short I would like to say that if you are planning to sell new house you can and if the amount is equal to or more than this house you won't have to pay any tax.
If you need further assistance we can have a phone consultation.
Hope you find the information helpful if you do please rate it 5 and provide your valuable feedback for my improvement.
Thank you