Hello Emilio Salas Roura,
Welcome to Microsoft Q&A!
Regarding your question, yes, you can indeed install the On-Premises Data Gateway on the same machine that hosts the Integration Runtime for Azure Synapse. However, it's generally not recommended because both services use the same ports for communication, which can lead to conflicts and performance issues.
So, for optimal performance and to avoid potential conflicts, it's best to install the On-Premises Data Gateway on a separate machine
I hope information provided was useful!
Regards,
Gao
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".