No, it’s unlikely you’ll get standard learner driver insurance if you’re retaking your test due to a conviction. You’ll need to look for specialist car insurance for convicted drivers.