Yes, of course. Allah does not punish us for something we did not do on our own. But at the same time, our will is not inspire of Allah’s will. We cannot do anything if Allah will not allow it. In other words nothing goes on in Allah’s kingdom without His will.