Can I build the extra modules with OpenCV already installed?

I find the device(jetson NX) has alreadey installed OpenCV. Is it possible to install openCV contrib without remove already installed OpenCV?