In Debian yes, you can set options on hard disks and SSDs, but not in FreedomBox specifically. hdparm will be the related Debian package. All FreedomBox has Debian so this would be available for you.
Start by reading the Debian wiki on Hark Disks and you can go from there. You’ll want to be sure you read the documentation from the hdparm team if you embark on this effort. Specific combinations of settings and devices can be risky - that will be documented. I don’t try anything with hdparm when there appears to be a risk from the function or with my particular device. They’ll tell you something like, “don’t do this on a Brand X SATA II disk…” If that sounds like me - I don’t do it.
Thanks for posting this question. I’ll point out that I had some disk settings that were set at boot by hdparm and those didn’t make it through the recent upgrade. I’ll have to set that up again.
As you are on this topic, I’d also recommend you have a look at the btrfsmaintenance post if you used btrfs for your filesystem. In here you’ll find a function to reduce wear on your SSD and extend device life.