Some questions about sing-box

Hello,
I’m a beginner and configured several V2Ray servers. I heard that Sing-box is more powerful and better than V2Ray. I have some questions:
1- Can I install the Sing-box on Debian linux?

2- Please consider the following plan:

Outside Server ---> Intermediate Server ---> Client

Intermediate Server configurations is:

{
  "inbounds": [
    {
      "port": 16823,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "UUID",
            "alterId": 64
          }
        ]
      }
    }
  ],
"outbounds": [
    {
      "protocol": "shadowsocks",
      "settings": {
        "servers": [
          {
            "address": "serveraddr.com",
            "method": "chacha20-poly1305",
            "ota": false,
            "password": "sspasswd",
            "port": 1024  
          }
        ]
      }
    }
  ]
}

And Server configuration is:

{
  "inbounds": [
    {
      "port": 1024, // Listening port 
      "protocol": "shadowsocks",
      "settings": {
        "method": "chacha20-poly1305",
        "ota": false,
        "password": "sspasswd"
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",  
      "settings": {}
    }
  ]
}

How can I rewrite these configurations in Sing-box?

Thanks.