Q.Can You Plant A Chocolate Vine In A Container Next To Pergola To Prevent Invasive Behavior ?
Vine suitable for pergola?

Certified GKH Gardening Expert
Planting in container will be the ONLY method for controlling roots. You will still be left picking seedlings as they start, or trim the flowers before they go to seed. It is important to keep up with this maintenance, or it will take over and become your worst enemy.
Here are some articles that will help:
https://www.gardeningknowhow.com/ornamental/vines/chocolate-vine/getting-rid-of-chocolate-vines.htm
https://www.gardeningknowhow.com/ornamental/vines/chocolate-vine/chocolate-vine-plants.htm