There is nothing in the regulations that the OFCCP enforces that would prohibit a company from posting a job with no intent to hire. However, there could certainly be other laws or regulations that impact such a situation.
You can use this OFCCP audit checklist to ensure you're doing what is required to maintain OFCCP's regulations including VEVRAA, Section 503, and EO 11246. Or request a demo to streamline your compliance and recruiting efforts.