Yes you can. Sunflowers grow well in pots. You should choose a right size pot and consider the depth of this pot because many variety of sunflowers require some deep.