It might be possible using a combination of location of team mates and pinning an icon on the map at that location.
This addon shows candy buckets on the map. It might be a good one to look at to see how they did it.
https://www.wowinterface.com/downloa...dyBuckets.html
I've personally never played with the map functions outside of getting the location of the player, so hopefully it will be useful to some degree.