It depends how one uses the storage, but on my home server I didn't need to access the (external) HDD storage often so I created a systemd service that spun it down after set time of inactivity. The response when the HDD is needed again is not instant, but okay enough for what I needed.
/usr/sbin/hdparm -S 120 /dev/sdb
https://wiki.archlinux.org/title/Hdparm