Yes. Since the canned product is already cooked, though, omit the step of boiling the green beans and just proceed with the rest of the recipe. Frozen beans are actually blanched (boiled) quickly before being frozen, so they will not need as much cooking time as raw beans. If using frozen beans, I suggest defrosting them completely and then assessing their texture. You may be able to completely omit the boiling step, or at least reduce it to only 1 to 2 minutes.