Yes, New Zealand spinach can make for a great container or potted crop.
It's recommended to use a pot 10-12” deep with drainage holes in at the bottom. Be sure to water often and keep the soil moist. Mulching the top layer of soil in the pot will help to keep soil from drying out. Place your plant in a warm area that receives lots of sunlight.