How to ignore traffic rules?

Hi all:
Im new to graphhopper community and i’ve been working with graphhopper routing engine in my Springboot project for a while. As an open source library, graphhopper has surprisingly rich resources and methods for routing problems, it is a great pleasure learning and using with it.
However I find an issue that can’t be solved by myself after searching for solution for a few days:
Is there any way to ignore all traffic rules in certain cases or in all cases? For example, ignore turnning restrictions and turn around at any time?

Many thanks