Yes you can grow strawberries in a planter. You will have to be
more careful about getting it enough water and fertilizer to keep
it growing and producing. It is recommended to use a self-watering
planter if you are going to attempt growing strawberry plants in a
container.
What do planters do?
A planter buries the roots of various plants or vegetation in
soil and/or fertilizer, and then, if the planter is also the
caretaker, he or she will continue to water and fertilize said
plants and/or vegetation appropriately
Can you tell What is in a vase in Plants vs Zombies?