There's a lot of different style of bed mechanisms. Before we can give you an accurate idea of if it's possible, we need pics / details of what type of bed system you have.
Based on the replies posted above, it's obvious no one knows what you have because the replies talked about several styles of lift mechanisms: One person talks about shocks (but means gas lift struts) and another talks about stop switches and chain drive (which would be on an electric lift)