My SFF NAS fits in a Lian Li Q25B case (20.4 liters). Has an ITX coffee lake board, i3-8100 cpu, a Corsair SFF power supply, and 5x 8TB drives in the hotswap bays.
Could it be smaller? Sure, but 3.5” drives are still the best bang for buck when it comes to mass storage.