Restore config on another router (same model and revision though)

I have two TP-Link Archer C7 v5 routers, let's call them A and B. Is it possible to restore the backup from A to B? (B is indeed just intended as backup). Or is there hardware specific stuff like MAC addresses stored in the configuration?

For some devices, yes - MAC addresses may be in network- and wireless configuration, so are the hostname and ssl certificates.