I bought a wedge pillow like that for sleeping at a friend’s. It is super hard to sleep on comfortably as a side sleeper. If yours is longer than this one in long mode, it might be ok.
Howhom Bed Wedge Pillow,... https://www.amazon.com/dp/B0967HQ39Z?ref=ppx_pop_mob_ap_share
I probably should have bought this but thought it was overkill.