Butterfly is such eye candy creature. It is why some people plant flowers all over their garden to attract them. Some other people actually enjoy creating indoor butterfly gardens. A few others, took it one step further, they breed butterfly and have their butterflies stay inside the house and never let them go outdoor.
Here is a video of a large indoor butterfly garden.
A company even started selling butterfly kit for easy breeding of butterfly at home.
If you kept butterflies in your home it would work to plant some of the types of flowers they love in pots that could be brought indoors for them to feed on and could be rotated to provide an assortment to choose from, on a regular basis.
This is a list of ones I am aware of: daisy, ironweed, Dutchman's pipe, lupine, snapdragons, violets, coreopsis, globe thistle, asters, everlasting, mallow, purple coneflowers, trumpet creeper, stonecap, worm-wood, sedum, black-eyed susan, hollyhock, parsley, yarrow, verbena, butterfly weed, phlox and any herbs. Plants like milkweed and goldenrod, and marigolds are feed for caterpillars as well.
Some flowers adept more to be planted in pots than others, but it would help keep the butterflies healthier having natural food sources and provide pollination for your plants.