Is it safe to spray paint indoors?

Yes. Wear a mask and keep the windows open. You may want to sleep in another location until the paint is dry. Do not use old paint that contains lead. All the best.