Chives will grow well indoors, especially in a south facing window. They’ll always do better outdoors in my opinion unless you have lots of artificial lighting inside.
Be warned when pruning them or otherwise damaging the leaves that they produces a very pungent oniony smell.