If you do not mind spending a few game ticks for a scan than it should
be possible by making the agent quickly turn several times. Check the
delta_buttons.py example and change the line
game.add_available_button(Button.TURN_LEFT_RIGHT_DELTA, 5)
to, e.g.
game.add_available_button(Button.TURN_LEFT_RIGHT_DELTA, 300)
to see the effect.
Best,
Wojciech