Comment on Consequences of Short delivery - NSE/BSE
You can transfer shares from one person to another, but if you do so firstly you don’t get any benefit of long term capital gain (0% tax). Whatever gain will be considered as a business. It is also a hassle to account this transfer, and this is the reason such transfers don’t really happen much. Even if it does, it is usually between the family