Hi Yashwanth,
Yes, you can go on these treks without the help of an agency. Most treks in Karnataka especially the ones within a national park have check posts or forest office from where you have to take a guide. So after that point you will be guided by a person from the forest dept or any local.