Yes, you can use ham instead of salt pork. Ham is salty meat that will add flavor to the black-eyed peas. You may need to adjust the amount of ham you use depending on how salty it is.