In most cases, it is necessary to press out the old bearings and press in new bearings when replacing a CV joint, so it is usually more cost-effective to replace them at the same time.
Additionally, by replacing the bearings at the same time as the CV joint, you can help ensure that your vehicle will perform properly and safely for as long as possible.