Yes cropping a dogs ears can be painful for the dog.
Most dog ear cropping procedures are done without giving the dog any anesthetics when the procedure is done.
Cropping a dogs ears is really a cruel and unnecessary painful procedure that shouldn't be done to be honest.
If you do get a dogs ears cropped please pay the extra fee and have them given anesthetics so they won't feel any pain.