Yes, jasmine does very well in containers. Use a 12-14 inch pot with drainage holes and a well-draining potting mix. You’ll want the pot large enough to accommodate the vining or shrubby growth habit. Fertilize regularly and keep the soil moist but not soggy. Move the potted jasmine plant to a sheltered location for winter if growing outdoors.