Based on my experience, I was able to get this motherboard to work with ECC ram:
ASRock B650M-HDV/M.2 Supports AMD Socket AM5 Ryzen 7000 Series Processors
But nowhere does it say that this board supports ECC. I was using a Ryzen 7700x and when I put ECC ram in, the TrueNAS GUI said it was ECC and I was able to use MemTest86 that you put on a USB stick to truly test if it was actually in ECC mode and it was.
In other words, I think it SHOULD work, but you might just need to test it and return it if it doesn’t or research some more.
The best you can do is run the Pro version of Passmark Memtest86, if the chipset allows for ECC error injection (that’s a big “IF”!).
As for “AM5 / reliable ECC support / budget friendly”, it is one of these “pick ANY TWO” pickles. Which is why I mention the AM4 MC12-LE0 board…
(For information, with the MC12-LE0 Memtest86 Pro reports successful correction of ECC errors, but the events are not logged by IPMI.)