A language does not need to be considered Turing complete to be considered code.
Or is code now any structured data read by a program?
It is all up to the interpreter you give the code too. Your program that takes yaml config is an interpreter, though probably a very limited one and hopefully a safe one (though that needs to be tested / checked for to be more sure of)