Galley Hatch question

I thought of using car trunk shock or hatchback shock (right word?) for my galley hatch. Has anyone else done this? We have a junkyard locally full of car with these things and it seems like a cheap way make the galley lid go up and down.