you can do that, but realize, My Books encrypt the data, so you won’t be able to access your files
once you take it out of the case and put it in another enclosure … you’ll have to format it to be able to use it. (this will wipe all your data)
hope you have your data backed up.
Here’s example of me removing the internal hdd from a 3TB My Book to demonstrate
click the link below for pictures