not according to AWAD it's not:

thank-you-ma'am (THANGK yoo mam) noun

A bump or depression in a road.

[From the nod of the head that results when one passes over it in a vehicle,
as if in an acknowledgment of a favor.]

but then maybe I'm just being an innocent - do elaborate!!