This is possible. The Pioneer staff created a video by using an external drive to accomplish this. https://forums.pioneerdj.com/hc/en-us/community/posts/360017281806/comments/360000717263
Another way is to use a cloud account.
The most important thing is to make sure the path leading to the database is the same. This can make or break the experience.