Even if you can get that RAM to run at 4000 the X3D won't really care that much, certainly in gaming.after 2 evenings of looking at RAM compatibility, boot times etc for DDR5 I'm half leaning back towards AM4 lol
just specced up a 5700x3D, Strix equivalent mobo, 64gb DDR4000-C19 RAM and its coming in 170 less than the AM5 platform with a 7700x
the PC I built for my son is around a 5800x3D and it's coping fine with 4x16gb sticks, something that DDR5 seems to have an issue with so if I am to go AM5 route I have to make decision now 48gb vs 64 vs 32 rather than upgrade later
RAM is almost double the price too - £200 for 64gb of 6000C30 RAM (or £190 if C36) - vs £115 for 64gb DDR4 4000 C19
If you're saving £170 vs choosing a 7700X why not go for a 7600 instead and bring that difference down closer to £70 ? I'd personally pay £70 to go AM5 instead of AM4