Yes Forget Me Not Flowers can be grown in pots but make sure you have a big enough pot to allow room for the Forget Me Not flowers to properly grow.
Just don't cram the Forget Me Not flowers in a small pot but putting them in a large pot is okay and they will grow okay.
Use some good potting soil and pots that have drainage holes to allow excess water to drain out of the pots to avoid over watering them.
I have a few Forget Me Not Flowers in pots in my house and they just fine.