Sure it can be done.
The pi which hosts the music files automatically creates a shared network drive which can be used to store files and also access them from other machines. On Pi 2 just add this smd share to the music library and you are done. I am also doing this with 2x pi4.
You can also store the music files on a third computer with potentially more storage space. In such a case just create a share on that machine and have both (or even more= pis with moode use the share by adding it to the library on each machine.
The pi which hosts the music files automatically creates a shared network drive which can be used to store files and also access them from other machines. On Pi 2 just add this smd share to the music library and you are done. I am also doing this with 2x pi4.
You can also store the music files on a third computer with potentially more storage space. In such a case just create a share on that machine and have both (or even more= pis with moode use the share by adding it to the library on each machine.