We can condense them into ever smaller bits until we have>
"He said to him, 'You shall love the Lord your God with all your heart, and with all your soul, and with all your mind.' This is the greatest and first commandment" before also referring to a second commandment, "And the second is like unto it, thou shalt love thy neighbour as thyself."
This still has the same structure as the 10, first solely about God, then about dealings with people.
But in the OT the people were being taught, from a stage of savagery little by little to civilized&holy, so defining specific cases was necessary. There are like 600 commandments in the OT.