Yes, you can generally travel in and out of the UK while holding a valid Long-Term Student Visa, but there are conditions to meet.