Yes and no.
Yes, because that is how all the Buddhas and Pacceka Buddhas become enlightened without the help of another when there is no teaching of the Dhamma in the world.
No, because If you practice correctly, that means you already know the Dhamma. If you see impermanence, suffering and non-self, you already know the Dhamma.