Yes Jessy pie, It's highly possible to grow magnolia in pots, especially if you have a sheltered area away from frost that's in sun or part shade.
Select a pot grown, small tree, Magnolia grandiflora 'Galissonniere' would be a good choice.
Choose a container only slightly larger that the pot it was grown in (you can always pot-on in a couple of years or so). ensure good drainage by adding crocks (broken pots etc) to the bottom of the pot.
They will grow much better in acidic soil, Azailia or Camellia potting mix should be fine. Use a slow release fertilizer once a year, stating approx 6 months after potting.
The surface roots are very easily damaged so best to avoid planting bulbs etc in the container.