Just keep in mind that you are responsible for the inspection costs. If the bank comes back and denies your offer, you will of course be out the inspection costs, unless you are willing to counter the bank and come to an agreeable price down the road.
In theory, waiting to hear from the bank (if your contract allows for it) could save you inspection costs should they deny your offer. However, if they do accept your offer, then you perform inspections only to find you don't want to go through with the purchase, now you have lost a lot of time. So you'll have to weigh what is more important to you, potentially losing the cost of the inspections, or potentially losing out on a month or two of time. Good luck!
I disagree with Ron below.
I think before you commit yourself to the lengthy process you should know everything about the home going in, including the inspection and yes the by laws.
Hope that helps.