Yes, Hampi is just a short distance away from Hospet and can be easily visited as a day trip. There are frequent buses and taxis available for transportation.