It is safe as long as you have an indoor use rated heater equipped with oxygen depletion sensors and tip over shutoff, place it on a stable surface away from objects and walls, ensure the small space is well ventilated, and observe the manufacturer’s safety instructions.