Yes, you can use canned or frozen as a substitute. If you just can't source fresh green beans, I'd suggest frozen over canned. The canned ones won't pick up as much of that yummy smoky pork flavor because they've already been partially cooked.