If we successfully create an entity with an artificial intelligence, where it becomes self-aware in a similar way a human being is self aware, I dare say that this intelligent entity could in fact become enlightened.
If it feels to be a separate self, which has thoughts and contemplations about life, the road is open to the gates of Nirvana.
Because nirvana and samsara is one and the same, the formless substrate which permeates all the universe is always available here for the discovery of any sentience that has the willingness to approach it.
Put in other words, the consciousness which sustains us is infinite in its expressions and I can’t see why not an entity moulded by our intelligence could itself become intelligent and subsequently self-aware of this substratum.
Just for funs 🙂