The answer is yes. The success rate of AI is cumulative, i.e. it increases with the number of attempts. However, it has been shown that after the fourth AI, the pregnancy rate remains constant.
Therefore, if pregnancy has not been achieved after four AIs, it would be best to switch to in vitro fertilisation (IVF).