As long as references and background check comes out clean. I’ve had multiple hires fail tgat stage of the process.
One guy had a gun charge he didn’t disclose and another person the reference said, “I can’t believe this woman keeps listing me as a reference- she totally screwed me over!”
Made both decisions easy to move forward with someone else. At that point in the hiring process, the manager really wants everything to go through smoothly.
There are restrictions on what you can ask these days and any sizable company with proper management/HR function generally follows the rules pretty carefully.