Yes, in many situations either word can be used without changing the meaning. One difference is that “relatively,” like 比较,can be used without identifying a specific thing to compare against. 比如说, “他比较高” means he is relatively tall — not relative to a specific person, but to people on average. With “comparatively,” in contrast, there almost always is a specific thing that is being compared against.