That should work fine actually. The only issue in theory is the height of the slot and the drivers. If you have an OS that is the same or later than the one which shipped with the MacBook, you should be golden.

This is in theory, never having tried it, I cannot be 100%.