Afghanistan is also a Theocracy with a centrally controlled economy, attempting to recover from decades of war.
Implementing Capitalism, through securing Private Property and maintaining voluntary market exchange, would bring about accessible education. Calling something a right doesn't magically make it available.
Private Property includes your own body and labor.
I'm no expert on Afghanistan, but constantly learning.