It's not that simple...
It is an easy matter getting the true track between two co-ords but the magnetic track would depend upon how far apart the two points are.
If they were reasonably close together so that the Variation was very similar you'd be OK. If you are talking about points many hundreds of miles apart with huge Variation differences then you can only specify an initial heading from point A - it would not remain accurate for very long though.