Yes, have done it many times. As trafficinsight said above, 91.215, in particular part (d) tells you what you need to know.
Just call the tracon tell them you want to bring a plane in for avionics work because the transponder is inop. They want to know when you'll hit their airspace, might give you vectors to help verify that the primary target they see on the scope is you, and you fly in and land. No big deal.
Have also ferried in aircraft with inoperative COM by doing a formation flight with the lead talking to approach and tower, they have also been fine with this, they just want you to keep it relatively tight, and of course get approval ahead of time.
YMMV depending upon the airport and their traffic load though.
Remember, do not turn on your transponder if it's out of date.