No, it can't. Spraying is due to stress, probably due to just moving, a new baby or a new animal. To stop it from spraying, try to reduce the cat's stress level.
not sure wat is considered too long but my period lasted over 15 days one time and the doctors gave me birth control to stop it. i jus had to take 2 pills a day instead of 1 a day. it really did...