You definitely can! You can use both frozen and fresh green beans for the casserole. Remember that if you're using the fresh version, you might want to cook the beans first in a skillet or a pan, allow them to cool down and then use them for the recipe to get the best texture.