How to create fhs compliant dev shell?

As the title says: Is it possible to create a FHS-compliant dev shell? If so, how?

You can use buildFHSEnv to do that Nixpkgs Reference Manual.