You can use a spray gun indoors, but you must ensure proper ventilation and take safety precautions, such as wearing appropriate respiratory protection and covering nearby surfaces to prevent overspray.