The short answer
Yes. As long as you're still ovulating occasionally, pregnancy is possible.
A common myth
Irregular periods don't mean you can't conceive. They just mean your cycle is less predictable.
When can you stop contraception?
Generally once menopause has been confirmed. Until then, it's worth keeping up.