Is there any restriction on Buy/Sell one stock any number of times and in any order in intraday / delivery

Is there any SEBI restrictions/penalty on Buy/Sell one stock any number of times and in any order in intraday / delivery.Here I am also asking that sell first and then later on buy.

Shorting carries risk of short delivery penalty in case the position isn’t squareoff.
Other than that I dont think there is any limit for Equity.
Unless you are trading F&O with more than 5% of Total OI (Are you that rich?)