If you do not intend to overclock (ever) your CPU and you only need 2x RAM sticks max., then, yes, the GA-A320M-HD2 motherboard will be enough for the Ryzen 5 1400 CPU.
But, if you do plan to overclock (now or in the future), your CPU would be better paired with a motherboard having a B350 chipset (instead of the A320 chipset), which supports OC'ing.