You don't necessarily need to install the self hosted integration runtime application on the same server hosting your databases. It can be done on a different machine as long as that machine can connect to both your on-premise SQL server and the data factory service.