You want to ideally have exactly one DIMM per channel. How many dimms this means depends on configuration, but modern EPYC platforms are 12-channel, so there is likely one slot per channel on your board.
You can run two DIMMs per channel without much downside. There's a dual-socketed server mobo out there that has 48 DIMM slots, making it possible to run 24TB of RAM in a 2U rack-mount
The desktop CPUs only have two memory channels so you don't get a performance benefit by using four memory modules.