Not unless it's a larch. My guess is it's a juniper and what's happening is what almost always happens with junipers. They'll last for a undetermined period of time indoors, but will, eventually, die. It won't be until days to weeks (sometimes months) AFTER they've already died that their needles will begin to brown and fall off in massive amounts. If you wish to keep a bonsai indoors, there are a variety of suitable species, junipers not being any of them. If you wish to keep a juniper, you'll need to keep it outside.