In the settings there is an option to not compress the URL (last point in advanced).
You could potentially use this to generate your avoid polygons from the URL.
Bear in mind:
- that the avoid polygons currently are limited to 200.000 square meters
- too complex polygons might result in an invalid URL as it has a character limit of around 2000
an example would be: