The maximum number of databases that can run on an RDS instance depends on the DB engine settings.
If there are enough CPU, memory, and storage resources, there are no limitations to the number of databases running on a DB instance. However, the number of tables in the databases affects the backup speed. If there are more than 500,000 tables, the backup will fail.