Yes, it is unlawful to bet on sport in person. But, they have not actual laws that forbid placing your bet online. After all, based on outdated law, you can legal online gambling in India as long as you wish.