Yes! I would highly encourage composting. We sold our home last December, but in and around our yard, we had lots of large trees that shed their leaves every fall. I would collect as many leaves as my in-ground garden could hold and the rest went to yard waste pickup. I also put vegetable scraps in my garden compost pile. Grass clippings also make a good compost.
As the weather warms in the spring, the leaves begin to break down and return nutrients to the soil. It also helps with the soil ecosystem (bacteria, fungi, earthworms, etc.). I would also take some of the partially broken down leaves and use them as a mulch in my containers and raised bed to hold in moisture and control weed growth. The rest of the partially composted leaves were put around the plants in my in-ground garden. It worked really well.
You can buy compost at a garden store, if you don't have a way to make compost.
I'm in an apartment now so I am growing in containers on my balcony, but I am going to try to recycle the leftover plant material at the end of the season. Since I don't have an in-ground garden, it may not work. It's going to be an experiment, I guess.