How about… no
We are certain that isn’t the correct way to place and use those kinds of stairs. But who knows? We could be wrong. After all, there are two people up there. And they both thought this was a good idea.
When two become one
You are lucky that you have more than one friend and that they both weigh enough to keep you safe. Did we say safe? No, our bad. Please go back to your house and call an expert.