I read somewhere on the Steam forums that someone completed this with AI driving as well, our achievements on PC work the same as your PS4 trophies so yes you can use AI.
Just in case, make sure to take control back before the end of the race and finish it your self rather than letting the AI finish it, I wouldn't be surprised if AI crossing the line for the final time would invalidate the achievement.