Hi Alexei,
As such there is no hardcoded/theoretical limit on the number of main tables in a repository. But the sizing for MDM depends on number of records in main tables. So, i suggest that you check the sizing guide once in case the volume of records in flat tables is too high, else you can go-ahead with the changes if your project is in initial stage.
Regards,
Kunal