Then, can you make a long hanging cabinet on the side of the bed (that is, outside the head of the bed and the end of the bed) Hanging cabinets may also occupy some bedside positions?
No, it's better not to take up space in the bed.
There is also a half air conditioner on the bedside, for example, is it ok to have a half air conditioner on the bedside?
You can't. And no matter which wall the air conditioner is on, you can't face the bed.