First-hand experience for me is that most development teams work with and should work with "best practices" which generally is meant to keep their production goals on track, rather than being set back by someone's actions. Like working in main rather than branched code and merging. Rolling up your windows before going through the car wash comes to mind.
The "toxic environment" is not generally on the shoulders of the devs (engineers, designers, artists, animators, etc.) but on the corporate/managerial side of things, the bean-counters and the ones that control the purse-strings.