Can my module replace components from another module?

Yes, see the the question Can my module extend another modules’ configuration? for more details.