Medical bed rail. Super stable - Even if you're 200+lbs and it'll stay put.
Then clamp the RamMount to it.
This is a life saver for meside of bed handle
Not sure if this will work on an adjustable base, but it’s what I used:
Medline Bed Assist Bar with... https://www.amazon.com/dp/B006P1RL9G?ref=ppx_pop_mob_ap_share
I bought this for myself after resection surgery, works great! I’m still using it though I don’t truly need it anymore. Bed Assist
I have a bed rail type of thing. It has been a game changer for me:
https://smile.amazon.com/Medline-Storage-Adjustable-Elderly-Assistance/dp/B006P1RL9G