Is it possible to have 1 slave server with multiple master?
Yes, you can run on different port and configure replication through master.
If you have different table name or db name in all master, you can for with multi source replica in that case you just need to install single instance for replica node of all masters. You can go through here and comment if have any doubt and need more clarification.