Edit: I was wrong with the above statement.
After doing some research around this. Cenotes are an exception to the rule and even though Open Water Divers often do enter inner rooms in wreck dives and caverns what matters is maintaining a direct line of ascent.
---- Original ----
Open Water can do caverns. Dos Ojos is incredibly popular and has hard ceiling.
Edit: Also Cavern Diver is just a specialty cert and doesn't confer any extra penetration. Those certs are mostly designed for skill mastery. IANTD's Cavern cert is required to get Full Cave, but I don't know if PADI's would count towards it.
https://blog.padi.com/2019/04/29/must-dive-cenotes-for-open-...