Yes! I often do this and have a Vegetable Scraps Broth recipe that uses the Instant Pot to speed the process. I keep a gallon bag of trimmings that are mainly onions skins, a few parsley stems, and trimmings from mushrooms, carrots, and celery in the freezer. When it is full, I’m ready to make broth/stock.