Music theory is just that. Theory. There is no set of laws.

Creating melodies by doggedly applying any system is almost guaranteed to feel tired, predictable and boring.