Yes, ninja were of course allowed to marry, as they needed to produce offspring. However, the oniwaban, who were ninja in government employ during the Edo period, had restrictions applied to contact with outsiders and could only marry within their profession.
Are there ninjas in real life?
If you're a fan of ninjas, you'll be pleased to know that ninjas were indeed real. However, the real ninjas of the past were probably nothing like today's version. ... Shinobi lived in Japan between the 15th and 17th Centuries. They were in two areas of Japan: Iga and Koga.
What do ninjas do for a living?
A ninja (忍者, Japanese pronunciation: [ɲiꜜɲdʑa]) or shinobi (忍び, [ɕinobi]) was a covert agent or mercenary in feudal Japan. The functions of a ninja included espionage, deception, and surprise attacks. Their covert methods of waging irregular warfare were deemed dishonorable and beneath the honor of the samurai.