The way was indeed the problem. Verse 31 would make no sense if that wasnt the meaning.
31 Thou shalt not do so unto the LORD thy God
He was saying to not look at how they served their gods and do those same things in serving Him. Your view would be in contrast to every commentator I have read. Some English versions make that a little clearer.
NLT: You must not worship the LORD your God the way the other nations worship their gods
ESV: You shall not worship the LORD your God in that way
NAS: "You shall not behave thus toward the LORD your God,
ISV: You must not do the same to the LORD your God
Deuteronomy 12:30