Answer
The purpose of a PhD internship is to develop transferable skills. Consequently, internships are typically not directly aligned with your doctoral thesis. Any work generated during the internship period usually becomes the property of the hosting organisation and cannot be incorporated into your thesis, however, exceptions may exist. Additionally, your internship can be in same discipline as your PHD project.