I doubt there will be a way as that part of the system is probably behind the scenes coding outside of Addon Access.
As far as I am aware the only positioning info are for players (
https://wow.gamepedia.com/API_UnitPosition ) that have been attached to a unit id .. such as target, mouseover, raid1 etc.
If I am wrong I am sure someone will pipe up with what they know.