Sure!
You can try just replacing the pads.
But realize it will be nearly impossible to get the new brake pads bed properly into the used rotors. Which can result in brake noise and/or vibration.
Which would then mean you would have to replace both the brake pads AND rotors to eliminate either problem.
Tester