A bit more information about your system (MFD? How old? Etc) and what you're trying to accomplish would help. Since your question is specific to your autopilot, if you're seeking to displace the heading sensor the AP needs (usually a Fluxgate compass), answer is GPS alone is not a good fit.
Peter