DRE and DRS agents

Hi

Can DRE and DRS agents run to same computer simultaneously?
When I install the DRE agent on the PC where the DRS agent (On-premises) is installed, the service does not start.