Yes Exchange2010 t will work but dont forget it is out of support.
And migrate from FRS to DFSR before promoting 2019 or 2016server to DC2019 or DC2016.
-->promote it to a DC then decommission the existing 2008 DC
Promoting a 2019 server to DC before migrating from FRS to DFSR will create replication issue.
You can run a 2019 or 2016 DC and still have exchange 2010 - however I didn’t test with the domain and direct level higher than 2008r2.