Yes, that could have caused you to be penalized. Going strictly by the rules outlined by Blizzard for SOD.
What exactly constitutes a “gold bid” or GDKP raid?
We’re defining GDKP as any raid or dungeon run where items are awarded in exchange for gold. Please note that we have multiple detection methods for GDKP that are effective both inside and outside of dungeon or raid instances.
I would not, in any way, exchange an item for gold outside of the AH.