I'd be careful about that. Your outside soil has an ecosystem of bacteria, microorganisms and bugs. that isn't so terrible in itself, but they all work together when outside to provide nutrients to plants. they get organic matter from leaves and other dead decaying things that get passed to plants. those critters might not survive indoors, limiting the fertility. if you happen to be fortunate and have sandy loam soil outside than you prob can do it okay with regular fertilization or by adding at least 20% organic matter. otherwise, those bugs won't survive too long inside and soon you'll have a barron pile of dirt inside.
a good organic potting soil is going to contain a high level of organic matter, much higher than is naturally present in soil. That's good for indoor plants that don't benefit from a complete ecosystem at work. make sure to feed plants some mychorrzeal fungi to help it along, don't over water and give it time to assimulate to the indoor climate if coming from outdoors/nursery.