Can I use a USB drive for a Sonos Network Drive

Hiya, first time posting.

I have around 4gb of music I’d like to connect to my Sonos network.

My old NAS packed up, and I am wondering if I can add a USB drive / harddrive to my Home Assistant running off Raspberry Pi, and connect my Sonos to this.

Does anyone know?