Is it possible to use an array of graph coordinates as an input variable? Say I have 1000 graphs that shows sales every year for the last 10 years for 1000 different companies. And say each of those graphs belong to either domestic countries or foreign countries. 

Is it possible I could input the different graphs into a classifier? That is, could a model predict based on the graphs whether or not the country was domestic or foreign? If so, how would you do that in python or r?
Yes, the graph coordinates can be used as features for training your algorithm( whichever classification algorithm you choose). Features will be X and Y and output will be labelencoded type of country.