It might be hard as you need a demonstrable development experience. I'd assume most network security consultants don't really have that. Either have some open source projects on GitHub that demonstrate you are an actual programmer and can write decent code or get some development perm job (doesn't need to be SRE necessarily) for couple of years to build that experience.