You would have to confirm with the locals for that.
There are several camping sites option from booking.com.
you can confirm with any of the provider.
Matanga hills is not a very long climb. U definitely can catch sunrise and sunset
The best time to visit Hampi is the winter season from October to February. The weather remains moderately cool except for peak afternoons but mostly perfect for exploring the World Heritage Site. Some of the most important festivals including Vijaya Utsav (Festival of Hampi) is celebrated in the month of November. Hampi is mostly moderate and dry throughout the year. The summers bring soaring high temperatures and therefore, March to June is a bad time to visit. Monsoons get average but inconsistent rainfall, keeping the temperatures a little low but humid. One may choose to visit Hampi during the monsoons which begin in July and go on till September. The region seldom receives heavy downpours, but it is advisable to stay away from the slippery terrains to avoid accidents.