No as you can’t simply turn off the avast service. The solution is to not let the system hibernate/go to sleep. Stop wasting energy.