I succeeded in getting a google static map displaying a path between 2 coordinates.
The problem is that the drawn path is just a straight line between the 2 points.<
You can definitely do this with the Static Maps API:
get directions using DirectionsService:
http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsService
and convert the overview path to suit the requirements of the Static Maps API:
http://code.google.com/apis/maps/documentation/staticmaps/#Paths