I have a bed that looks like this, doesn’t have legs.
I was looking at bed risers, but they’re aimed for beds with legs. Also, the risers make the bed rise too high for my needs.
I only need to make the bed rise for about 2-inches so I can use an overbed table like .
You could set the bed on top of pieces of 4"x4" lumber
Put some screws in it to prevent it from slipping and you’ve got yourself a bed on legs