Yes, this is straight forward to achieve with scripting. We've already had a script add-on to output absolute positions. I've just added one for relative coordinates:http://www.ribbonsoft.com/en/qcad-add-ons