Yes, you can do an internship during your degree. If you have a mandatory internship, you will need to confirm the option with the institution, since those internships have different features.