Yes, you can sell and buy the same stock on the same day. But make your that you do not use the funds that are added to your trading account after selling the stock in any other stocks.