The paint will come off, but just do not pay an artist price for the piece. Also, but not all the time as KevM stated "The reason it's painted may be due to warping or a crack." There was a time in a-lot of Americans kitchens that cast iron fell out of favor, so they were turned into wall painted art.
I have purchased quite a few with very good results.