Yes, killing NPCs can alter some story events. But you can complete the game, whatever you do. There are no “bad” endings or anything :)