1. Someone already has maxed out their motherboard and has some unused sticks of ram and would like to repurpose them instead of selling them or worse recycling them (remember reuse is before recycle). Reuse as battery powered storage might be an option. (This is the use case of the OP)
2. Someone wants a faux-Optane cache, maybe for the paging file/swap. Maybe to avoid wear on the SSD. Theoretically it should be possible to get higher performance than a SSD (same era RAM is faster than Optane which is faster than same era SSDs), in practice IDK. Maybe Optane is no longer available, or again maybe they already have the RAM
2. Someone wants a Volatile drive, maybe to be used in conjunction with a security oriented Linux distro like QubesOS or Tails. If a switch is tripped, everything on the computer is truly gone.