No, you must remove the nozzle of any aerosol before disposing of them. If the paint is still in the can, place it in an appropriate container and dispose of it correctly at your local hazardous waste disposal center or recycling facility.