To get that thing under the platform, you're going to need to add stubby legs like the ones on a stuffed chair, unless you want it to look like a dorm room with sticks or bricks. At a guess, I'd say you'll need 1 leg for every 2-3 linear feet that the bed contacts the ground. Don't forget the center support.
Platform beds aren't designed to have legs, so you'll need significantly more legs than a framed bed would have. You've got to spread the additional stresses evenly or it'll all loosen. It'll start creaking and the drawers will get stuck with too few supports.
Maybe finding a differently designed table is the way to go. Perhaps someone makes one where the base is intended to be tucked under the box spring, for example.
Maybe attaching the table directly to your bed frame is the answer, rather than raising your bed.
Regardless, don’t restrict yourself to Amazon. Look at websites for medical supply companies. I would expect them to have more varied solutions.
Disclaimers: I don’t know what your budget is, or what country you live in. Yeah, it sucks that the website makes you log in to see prices, but at least it’s Medline. They’re a big name.
If the 2x4 width (about 1.5) is too small, 2x3 lumber is common. Get a bunch and screw two boards together to use three 3 inch (actually about 2.5) so that you don't worry about the board tipping.
Since your current frame is legless, i'd probably do a decent sized frame underneath so not just supported at corners.
Definitely the most low tech solution, but I could imagine reasons why it might not be a good solution. Sharing the bed with another human seems like a pretty valid argument against this style.
As a random tangent, I'm signed up for Google Opinion Rewards, and I got a survey today that was asking me about my search for this. Some of the questions were so awkward to answer because I was like, "I was just trying to help an internet homie on lemny solve their troubles, I don't know!"
The big question that prevents the best answer from being obvious is how the existing bed frame is constructed.
If the material is a compressed sawdust wood and that is the material supporting the entire load, like Ikea stuff, then you shouldn't reduce the contact area with the floor too much. Simply notching the frame with a gentle radius in the area you need the legs to go under the bed would work, the smaller the amount of material removed, the better. So two half circles would be better than one
24" long rectangle with radiused corners. That could be done with a rotary tool or a fretsaw if you don't have more appropriate tools to minimize tear-out. You would want to cover the cuts with some veneer to prevent the legs from eroding the frame.
Already commented about raising the bed. Here's another idea.
Remove the top of the desk from the bottom and rotate it 180°, then reinsert. Put a heavy weight on the foot to stabilize, then cantelever the desk out over the bed.
They should not do this without checking where the bed is supported on the floor. Your method only lifts the perimeter of the bed. It is very likely that the bed also rests on the floor down the center line of the bed or at other spots within the perimeter. If they only prop up the perimeter of the bed, it is liable to collapse in the center.
That table telescopes. Looks like it already has a way to adjust?
In any case, you could also add feet to the bed. I’d drop examples, except without knowing more about how the bed is made, the specifics get a bit wonky
Another option is taking a couple 4x4’s and trimming them down to the right height and setting them out in a frame- bed on top. (2x4’s are not quite 2”, but if those are thick enough, even simpler,)
I know people are saying like bricks and wood and stuff, but if you don't care how it looks, reams of paper are cheap and customizable, and even stable if you keep them in the plastic wrap and just slide out what you don't need
Does the bed have sliders under the corners? I'd look for that first to see if it's designed to be either truly held up by the length of the beams or if it's actually already supported by the corners. If it's just the corners, then you only need risers at the corner. If it's making full contact with the floor, I'd prefer to continue supporting it almost fully with longer beams, leaving a gap where this stand goes
Yoda: No! Try not. Do... or do not. There is no try.
[Luke tries to use the Force to levitate his X-wing out of the bog, but fails in his attempt.]
Luke: I can't. It's too big.
Yoda: Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. For my ally is the Force, and a powerful ally it is. Life creates it, makes it grow. Its energy surrounds us and binds us. Luminous beings are we, not this crude matter. You must feel the Force around you; here, between you, me, the tree, the rock, everywhere. Yes. Even between the land and the ship.
Luke: You want the impossible. [sees Yoda use the Force to levitate the X-wing out of the bog and gets flustered when he does it] I don't... I don't believe it!