Just doing a similar thing.
Also with AM4.
But for me it’s more a all around server on a budget.
Main target for me tho, i 3D design and print my own case for a uATX board.
Yet i think on AM4 the best you can get is a 5750G Pro. Supports ECC Ram.
I went for the 5700G, because as said, on a budget. Available around me is also bad for the Pro.