Yes you can Amaan! I was driving Bajaj Saffire with my learner's license , no problems with cops what so ever!
Though riding a Dio or Activa is illegal according to the rules i don think the cops wont mind that much riding these bikes with a learner's license as long as you don land up in any serious trouble like minor accident , signal jumping , not wearing helmet etc!! If he pulls by you on a random basis i don think there will be any problem!!
Always wear helmet and full sleeve shirts , keep your license in your wallet always and also have all the papers in your bike and drive according to the rules! This is what i did i din land in any problem!!
Follow all these and i guess there wont be any problem even if you ride a Dio or Activa!