NO, there is no such law or rule that restricts couples from staying together, With Oyo you can easily book hotels for couples. You can visit this link https://www.oyorooms.com/can-unmarried-couples-book-a-hotel-in-india to book your hotel.