Yes, you can, but after 365 days. In other words, if you have an Israel visa stamp in your passport or any document indicating that you have traveled to Israel, you can apply for a visa for Iran 365 months later. Notably, Israeli passport holders are banned from visiting Iran.