I have been using an old PC as NAS and running docker containers (Immich, Nextcloud, paperless-ngx etc.). I got 5 3.5" HDD disks and a Nvme. Even on idle, I am consuming 50-60w. A friend of mine is selling a Qnap NAS which is a dedicated machine and probably consumes less power, although I don’t know if it’s worth it.
Sure, I have an old PC with an energy efficient mainboard and a PicoPSU and I wouldn’t want anything else. I believe it does somewhere around 20W-25W though. And I have lots of RAM, a decent (old) CPU and enough SATA ports… Well, I would go for a newer PC, they get more energy efficient all the time… But it’s a lot of effort to pick the components unless some PC magazine writes something or someone has a blog with recommendations.