... society that practically treat the Prime Directive like religious dogma ...
No, the prime directive has always been shown to be highly variable. As seen "in-universe" it would appear to be changed and reinterpreted on a regular basis.
In the episode Pen Pals, the Enterprise's command staff couldn't even agree among themselves
as to what the prime directive actual meant.