Yes, line a baking sheet or plate that will fit on a flat shelf in your freezer with parchment paper. Arrange the cooked beans in a single layer, so they will freeze individually instead of in clumps, and place in the freezer for 2 hours. Transfer the frozen beans to an airtight container so they'll keep well in the freezer for up to 6 months. It will be easy to measure and thaw exactly what you need with this method.