I have worked around this in a Linux server by setting up a crib job to touch a file on the drive… this ping idea here is a good idea too https://apple.stackexchange.com/questions/439237/how-to-keep-external-hdds-spinning-prevent-spinning-down-on-macos
I use a hammerspoon script. But really all these types of tools are modifying the power management using system apis… you can do this yourself using the pmset
command
Another example of Dogs > Cats
Cats would have just said FU and left