All drives have a small variety of connections in their bare base form, from IDE to SATA to U.2, SAS and M.2. External drives all have built in hardware or adapters that convert from, example SATA to USB installed by the manufacturer. Some of these chipsets require software or drivers to run properly but in the end the drive is just like any other drive you can get and you can wipe and use it like them just the same.
Always back up your data first before moving drives. There's a low chance you will may need to completely wipe the drive after extracting it from an external case or installing it in one, really depends on what you're trying to do and what drive, case or adapter you're using.