Finally, I found the solution. To implement such experience, you should add this code:
behaviors: [ { "name": "HorizontalOrientable" } ],
variantgroups: [
{
code: "side",
loadFromProperties: "abstract/horizontalorientation"
}
],
creativeinventoryByType: {
"*-east": {general: ["*"]}
},
shape: {
base: "block/yourblockmodel",
"rotateYByType": {
"*-north": 0,
"*-east": 270,
"*-south": 180,
"*-west": 90
}
},