Yes, Chinese universities offer accommodation/ hostel facilities to international students within universities. Though students are free to get or arrange accommodation outside the university dormitory.