If the snake has proper ventilation and the aerosol isn't pointed ordirected towards the snake, I wouldn't see a problem.