Yes, you can install the ED2000 ahead or before your tankless water heater to protect the water heater from scale buildup.