Yes. I almost set up a "phone center" with the OSS asterisk package on a raspberry-pi. Basically the raspberry takes the call and waits for a few second silently, before forwarding the call to your phone (and only then it starts ringing). This way, robocallers hang up and your phone never rings.
Instead of waiting, you can also send control sounds to make the robocall believe the call has ended.
Instead of waiting, you can also send control sounds to make the robocall believe the call has ended.