If you bend the bolt with the wood, you're screwed. You have to determine if the bolt hole in the wood has enough freeboard to accomodate the bend and still allow the bolt a straight shot at whatever it screws into.

Most guns aren't so fortunate but some, and I'm referring specifically to a M12 Winchester, have a long boss projecting off the rear of the receiver that is drilled and tapped for the throughbolt. That boss can be bent to accomodate offset in the stock while still allowing the bolt a straight path. Note too that in such a case you really don't need to bend the wood, just face it up where it heads into the stock.